[monitoring-plugins] CI: Adding Codespell (and Super Linter)

waja git at monitoring-plugins.org
Mon Apr 17 08:30:11 CEST 2023


    Module: monitoring-plugins
    Branch: master
    Commit: 41fb615f3de34c3b3a344e74fd9cc24936cd58a6
    Author: Jan Wagner <waja at cyconet.org>
 Committer: waja <waja at users.noreply.github.com>
      Date: Fri Apr 14 15:01:48 2023 +0000
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=41fb615

CI: Adding Codespell (and Super Linter)

---

 .github/workflows/test.yml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 80d49f7..e825eb3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -7,9 +7,40 @@ on:
   pull_request:
 
 jobs:
+  codespell:
+    name: codespell
+    strategy:
+      fail-fast: false
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout at v3
+      - name: Codespell
+        uses: codespell-project/actions-codespell at master
+        with:
+          skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh"
+          ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners
+          check_filenames: true
+          check_hidden: true
+#  super-linter:
+#    name: super-linter
+#    strategy:
+#      fail-fast: false
+#    runs-on: ubuntu-latest
+#    steps:
+#      - name: Checkout
+#        uses: actions/checkout at v3
+#      - name: Lint Code Base
+#        uses: github/super-linter at v5.0.0
+#        env:
+#          DEFAULT_BRANCH: master
+#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 #  macos:
 #    ...
   linux:
+    needs:
+      - codespell
+#      - super-linter
     runs-on: ubuntu-latest
     name: Running tests on ${{ matrix.distro }}
     strategy:



More information about the Commits mailing list