11---
2- name : Build assets for SimpleSAMLphp 2.4
2+ name : Build assets for SimpleSAMLphp 2.5
33
44on : # yamllint disable-line rule:truthy
55 push :
@@ -9,13 +9,16 @@ on: # yamllint disable-line rule:truthy
99 workflow_dispatch :
1010
1111jobs :
12- quality :
13- name : Quality checks
12+ quality : Quality checks
13+ name : ' Lint Code Base '
1414 runs-on : ['ubuntu-latest']
1515 if : ${{ github.event.commits[0].author.name != 'dependabot[bot]' }}
1616
17+ strategy :
18+ fail-fast : false
19+
1720 steps :
18- - uses : actions/checkout@v4
21+ - uses : actions/checkout@v5
1922 with :
2023 token : ${{ secrets.ASSETS_COMMIT_TOKEN }}
2124 ref : ${{ github.head_ref || github.ref_name }}
@@ -30,24 +33,12 @@ jobs:
3033 # Remove generated files; we can't lint them and we want to detect removed files during build
3134 run : find css/ webfonts/ icons/ js/ -type f -not -name '.gitkeep' -delete
3235
33- - name : Lint Code Base
34- uses : super-linter/super-linter/slim@v8
35- env :
36- DEFAULT_BRANCH : ${{ github.head_ref || github.ref_name }}
37- # CSS Linter will choke on generated assets
38- IGNORE_GENERATED_FILES : true
39- FILTER_REGEX_EXCLUDE : ' (css|js|webfonts|icons)/.*'
40- # To report GitHub Actions status checks
41- SAVE_SUPER_LINTER_OUTPUT : false
42- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43- LINTER_RULES_PATH : ' tools/linters'
44- VALIDATE_ALL_CODEBASE : true
45- VALIDATE_CSS : true
46- VALIDATE_JAVASCRIPT_ES : true
47- VALIDATE_JSON : true
48- VALIDATE_MARKDOWN : true
49- VALIDATE_YAML : true
50- VALIDATE_GITHUB_ACTIONS : true
36+ - uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.10.0
37+ with :
38+ enable_eslinter : true
39+ enable_jsonlinter : true
40+ enable_stylelinter : true
41+ enable_yamllinter : true
5142
5243 - name : Zip artifact for deployment
5344 run : |
7061 steps :
7162 - uses : actions/setup-node@v4
7263 with :
73- node-version : 18
64+ node-version : 20
7465
7566 - uses : actions/download-artifact@v5
7667 with :
0 commit comments