diff options
author | Jan Wagner <waja@cyconet.org> | 2023-04-14 15:01:48 +0000 |
---|---|---|
committer | waja <waja@users.noreply.github.com> | 2023-04-17 08:23:28 +0200 |
commit | 41fb615f3de34c3b3a344e74fd9cc24936cd58a6 (patch) | |
tree | b2adcb69eab0a7429c01d707bbc5f9670ede8b74 | |
parent | 24e99301b4776071b0d65df3426ebb41f4347475 (diff) | |
download | monitoring-plugins-41fb615f3de34c3b3a344e74fd9cc24936cd58a6.tar.gz |
CI: Adding Codespell (and Super Linter)
-rw-r--r-- | .github/workflows/test.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80d49f7e..e825eb34 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -7,9 +7,40 @@ on: | |||
7 | pull_request: | 7 | pull_request: |
8 | 8 | ||
9 | jobs: | 9 | jobs: |
10 | codespell: | ||
11 | name: codespell | ||
12 | strategy: | ||
13 | fail-fast: false | ||
14 | runs-on: ubuntu-latest | ||
15 | steps: | ||
16 | - name: Checkout | ||
17 | uses: actions/checkout@v3 | ||
18 | - name: Codespell | ||
19 | uses: codespell-project/actions-codespell@master | ||
20 | with: | ||
21 | skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh" | ||
22 | ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners | ||
23 | check_filenames: true | ||
24 | check_hidden: true | ||
25 | # super-linter: | ||
26 | # name: super-linter | ||
27 | # strategy: | ||
28 | # fail-fast: false | ||
29 | # runs-on: ubuntu-latest | ||
30 | # steps: | ||
31 | # - name: Checkout | ||
32 | # uses: actions/checkout@v3 | ||
33 | # - name: Lint Code Base | ||
34 | # uses: github/super-linter@v5.0.0 | ||
35 | # env: | ||
36 | # DEFAULT_BRANCH: master | ||
37 | # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
10 | # macos: | 38 | # macos: |
11 | # ... | 39 | # ... |
12 | linux: | 40 | linux: |
41 | needs: | ||
42 | - codespell | ||
43 | # - super-linter | ||
13 | runs-on: ubuntu-latest | 44 | runs-on: ubuntu-latest |
14 | name: Running tests on ${{ matrix.distro }} | 45 | name: Running tests on ${{ matrix.distro }} |
15 | strategy: | 46 | strategy: |