Skip to content

Commit 2d2a461

Browse files
committed
ci(template): Use pinned rustup version in pre-commit workflow
1 parent c9f2102 commit 2d2a461

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/.github/workflows/pr_pre-commit.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
NIX_PKG_MANAGER_VERSION: "{[ nix_pkg_manager_version }]"
1111
RUST_TOOLCHAIN_VERSION: "{[ rust_nightly_version }]"
1212
HADOLINT_VERSION: "{[ hadolint_version }]"
13+
RUSTUP_VERSION: "{[ rustup_version }]"
1314
PYTHON_VERSION: "{[ python_version }]"
1415

1516
jobs:
@@ -30,6 +31,7 @@ jobs:
3031
with:
3132
python-version: ${{ env.PYTHON_VERSION }}
3233
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}
34+
rustup-version: ${{ env.RUSTUP_VERSION }}
3335
hadolint: ${{ env.HADOLINT_VERSION }}
3436
nix: ${{ env.NIX_PKG_MANAGER_VERSION }}
3537
nix-github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)