We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f36d8b commit 5d52cd7Copy full SHA for 5d52cd7
.github/workflows/dev.yml
@@ -38,6 +38,19 @@ jobs:
38
- uses: actions/setup-python@v5
39
with:
40
python-version: '3.x'
41
+ - name: Install pinned Rust toolchain
42
+ id: rust
43
+ run: |
44
+ set -euxo pipefail
45
+ # Extract pinned channel from rust-toolchain.toml (keeps single source of truth)
46
+ TOOLCHAIN=$(awk -F '"' '/^channel/ {print $2}' rust-toolchain.toml)
47
+ echo "Pinned toolchain: ${TOOLCHAIN}"
48
+ rustup toolchain install "${TOOLCHAIN}" --profile minimal --no-self-update
49
+ rustup component add --toolchain "${TOOLCHAIN}" rustfmt clippy
50
+ rustup default "${TOOLCHAIN}"
51
+ rustup show active-toolchain
52
+ rustc -V
53
+ cargo -V
54
- name: pre-commit (cache)
55
uses: actions/cache@v4
56
0 commit comments