]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add codespell build job
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 14 Oct 2020 18:06:28 +0000 (20:06 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 14 Oct 2020 18:13:12 +0000 (20:13 +0200)
.github/workflows/build.yaml
misc/codespell-allowlist.txt [new file with mode: 0644]

index c7e71c0eba433721226fc325ead62c3ff19fd02a..f6ea6a5b00236a4add7ff72d645a1ac414049519 100644 (file)
@@ -229,3 +229,18 @@ jobs:
         run: misc/format-files --all --check
         env:
           VERBOSE: 1
+
+  codespell:
+    name: Spelling
+    runs-on: ubuntu-20.04
+    strategy:
+      fail-fast: false
+    steps:
+      - name: Get source
+        uses: actions/checkout@v2
+
+      - name: Install codespell
+        run: sudo apt-get install codespell
+
+      - name: Run codespell
+        run: codespell -q 7 -S ".git,LICENSE.adoc,./src/third_party/*" -I misc/codespell-allowlist.txt
diff --git a/misc/codespell-allowlist.txt b/misc/codespell-allowlist.txt
new file mode 100644 (file)
index 0000000..60f3e5c
--- /dev/null
@@ -0,0 +1,8 @@
+copyable
+creat
+files'
+pase
+seve
+stoll
+te
+thi