File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Lint GitHub Actions workflows
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - .github/workflows/*.yml
7+ - .github/actionlint.yml
8+ - .github/actionlint-matcher.json
9+
10+ jobs :
11+ actionlint :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v6
16+
17+ - name : Check workflow files
18+ uses : reviewdog/action-actionlint@v1
Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ jobs:
3333 uses : ./.github/actions/setup-python-with-uv
3434
3535 - name : Generate cache id
36- run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
36+ id : cache
37+ run : echo "id=$(date --utc '+%V')" >> "$GITHUB_OUTPUT"
3738
3839 - name : Save cache
3940 uses : actions/cache@v5
4041 with :
41- key : mkdocs-material-${{ env.cache_id }}
42+ key : mkdocs-material-${{ steps.cache.outputs.id }}
4243 path : .cache
4344 restore-keys : mkdocs-material-
4445
You can’t perform that action at this time.
0 commit comments