Add CI job to run codespell on all source files

Fixes https://codeberg.org/openpgp/notes/issues/96

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-11-02 17:20:39 +01:00
parent 82f59746f2
commit 4459b3b2a9
No known key found for this signature in database
GPG key ID: 90D4B9641E092971

22
.woodpecker/codespell.yml Normal file
View file

@ -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