Skip to content

Commit 3f13bce

Browse files
committed
Fix Rust version and Actions
1 parent 8a379e9 commit 3f13bce

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/verify.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,18 @@ jobs:
5959
nim-version: '1.6.14'
6060
repo-token: ${{ secrets.GITHUB_TOKEN }}
6161

62-
- name: Set up Rust (1.42.0)
63-
uses: actions-rs/toolchain@v1
64-
with:
65-
toolchain: 1.42.0-x86_64-unknown-linux-gnu
66-
default: true
67-
profile: minimal
62+
- name: Set up Rust (1.70.0)
63+
run: |
64+
rustup set profile minimal
65+
rustup install 1.70.0
66+
rustup override set nightly
6867
6968
# required by cargo-udeps
7069
- name: Set up Rust (nightly)
71-
uses: actions-rs/toolchain@v1
72-
with:
73-
toolchain: nightly-x86_64-unknown-linux-gnu
74-
default: true
75-
profile: minimal
70+
run: |
71+
rustup set profile minimal
72+
rustup install nightly
73+
rustup override set nightly
7674
7775
# required only if you set `languages.rust.list_dependencies_backend.kind` to `"cargo-udeps"`
7876
- name: Install cargo-udeps for Rust

0 commit comments

Comments
 (0)