77 push :
88 branches : [master]
99
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
1014jobs :
1115 lint :
1216 name : " Lint"
@@ -18,11 +22,17 @@ jobs:
1822 - name : " Checkout"
1923 uses : actions/checkout@v6
2024
25+ - name : " Debug event.json"
26+ continue-on-error : true
27+ run : cat "${GITHUB_EVENT_PATH}"
2128 - name : " Debug CTX github"
2229 continue-on-error : true
2330 env :
2431 GITHUB_CTX : ${{ toJSON(github) }}
2532 run : echo "$GITHUB_CTX"
33+ - name : " Debug Environment"
34+ continue-on-error : true
35+ run : env
2636
2737 - name : " Setup Node 24"
2838 uses : actions/setup-node@v6
@@ -38,46 +48,36 @@ jobs:
3848 run : |
3949 npm run docs:deploy
4050
41- # - name: "ESLint "
51+ # - name: "esLint "
4252 # if: ${{ !cancelled() }}
4353 # run: |
4454 # npm run lint
4555
46- - name : " Prettier Check "
56+ - name : " prettier "
4757 if : ${{ !cancelled() }}
4858 run : |
4959 npm run prettier:check
5060
51- - name : " Yamllint "
61+ - name : " yamllint "
5262 if : ${{ !cancelled() }}
5363 env :
54- CONFIG : " {extends: relaxed, ignore: [node_modules/], rules: {line-length: {max: 119}}} "
64+ CONFIG : .github/yamllint.yaml
5565 run : |
5666 echo "::group::List Files"
57- yamllint -d ' ${{ env.CONFIG }}' --list-files .
67+ yamllint -c " ${{ env.CONFIG }}" --list-files .
5868 echo "::endgroup::"
59- yamllint -d ' ${{ env.CONFIG }}' .
69+ yamllint -c " ${{ env.CONFIG }}" .
6070
61- - name : " Actionlint "
71+ - name : " actionlint "
6272 if : ${{ !cancelled() }}
63- run : |
64- echo "::group::Download"
65- loc=$(curl -sI https://github.com/rhysd/actionlint/releases/latest | grep -i '^location:')
66- echo "loc: ${loc}"
67- tag=$(echo "${loc}" | sed -E 's|.*/tag/v?(.*)|\1|' | tr -d '\t\r\n')
68- echo "tag: ${tag}"
69- url="https://github.com/rhysd/actionlint/releases/latest/download/actionlint_${tag}_linux_amd64.tar.gz"
70- echo "url: ${url}"
71- curl -sL "${url}" | tar xz -C "${RUNNER_TEMP}" actionlint
72- file "${RUNNER_TEMP}/actionlint"
73- "${RUNNER_TEMP}/actionlint" --version
74- echo "::endgroup::"
75- "${RUNNER_TEMP}/actionlint" -color -verbose -shellcheck= -pyflakes=
73+ uses : cssnr/actionlint-action@v1
74+ with :
75+ shellcheck_opts : -e SC2129
7676
7777 # Note: this will most likely be split into two different workflows...
7878 - name : " Check Docs Changes"
7979 id : docs-changed
80- uses : tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47
80+ uses : tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
8181 with :
8282 files : |
8383 docs/**
0 commit comments