From 41fb615f3de34c3b3a344e74fd9cc24936cd58a6 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Fri, 14 Apr 2023 15:01:48 +0000 Subject: CI: Adding Codespell (and Super Linter) 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@v3 + - name: Codespell + uses: codespell-project/actions-codespell@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@v3 +# - name: Lint Code Base +# uses: github/super-linter@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: -- cgit v0.10-9-g596f