Skip to content

Commit e315ce9

Browse files
committed
ci: Update run-pre-commit action
This now installs Nix via the run-pre-commit action instead.
1 parent 55e8087 commit e315ce9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr_pre-commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
CARGO_TERM_COLOR: always
99
RUST_TOOLCHAIN_VERSION: "1.80.1"
1010
HADOLINT_VERSION: "v1.17.6"
11+
NIX_VERSION: "2.25.2"
1112

1213
jobs:
1314
pre-commit:
@@ -16,15 +17,14 @@ jobs:
1617
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1718
with:
1819
fetch-depth: 0
19-
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 #v30
20-
with:
21-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2220
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
2321
with:
2422
node-version: 18
2523
cache: yarn
2624
- run: yarn install --frozen-lockfile
27-
- uses: stackabletech/actions/run-pre-commit@9bd13255f286e4b7a654617268abe1b2f37c3e0a # v0.3.0
25+
- uses: stackabletech/actions/run-pre-commit@e5be82f718f838b137928629cfc92b0baf978e63 # v0.3.0 TODO: Use tagged version
2826
with:
2927
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}
3028
hadolint: ${{ env.HADOLINT_VERSION }}
29+
nix: ${{ env.NIX_VERSION }}
30+
nix-github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)