Skip to content

Commit 601eb80

Browse files
authored
ci: Update run-pre-commit action (#339)
* ci: Update run-pre-commit action This now installs Nix via the run-pre-commit action instead. * chore: Test action validation (requires revert) * Revert "chore: Test action validation (requires revert)" This reverts commit 8fbe7a9. * chore: Bump run-pre-commit action to v0.4.0
1 parent 55e8087 commit 601eb80

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@5901c3b1455488820c4be367531e07c3c3e82538 # v0.4.0
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)