From 4459b3b2a9d475a7821f9a53fe5c55e7e001d57d Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 2 Nov 2023 17:20:39 +0100 Subject: [PATCH] Add CI job to run codespell on all source files Fixes https://codeberg.org/openpgp/notes/issues/96 Signed-off-by: David Runge --- .woodpecker/codespell.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .woodpecker/codespell.yml diff --git a/.woodpecker/codespell.yml b/.woodpecker/codespell.yml new file mode 100644 index 0000000..ae9229d --- /dev/null +++ b/.woodpecker/codespell.yml @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project +# SPDX-License-Identifier: CC0-1.0 + +clone: + git: + image: woodpeckerci/plugin-git + settings: + lfs: false + +when: + branch: draft + event: + - push + - pull_request + +steps: + codespell: + image: archlinux:latest + commands: + - pacman -Sy --needed --noconfirm archlinux-keyring + - pacman -Syu --needed --noconfirm codespell make + - make -C book codespell