Skip to content

Commit fd7a3dd

Browse files
committed
cache shellcheck binary
1 parent b41d0f9 commit fd7a3dd

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
- name: Install dependencies
6969
run: pnpm install --frozen-lockfile
7070

71+
- name: Cache Shellcheck
72+
uses: actions/cache@v5
73+
with:
74+
path: node_modules/shellcheck/bin/
75+
key: shellcheck-${{ runner.os }}-${{ hashFiles('pnpm.lock.yaml') }}
76+
7177
- name: Run Tests
7278
env:
7379
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -76,6 +82,11 @@ jobs:
7682
build:
7783
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
7884
needs: [lint, test]
85+
permissions:
86+
contents: read
87+
pages: write
88+
id-token: write
89+
7990
runs-on: ubuntu-latest
8091
steps:
8192
- name: Checkout

0 commit comments

Comments
 (0)