Skip to content

Commit

Permalink
Merge pull request #426 from online-judge-tools/fix/rust-actions
Browse files Browse the repository at this point in the history
Fix Rust version and Actions
  • Loading branch information
koba-e964 committed Dec 6, 2023
2 parents c4a0090 + 3f13bce commit d292419
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,18 @@ jobs:
nim-version: '1.6.14'
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Rust (1.42.0)
uses: actions-rs/toolchain@v1
with:
toolchain: 1.42.0-x86_64-unknown-linux-gnu
default: true
profile: minimal
- name: Set up Rust (1.70.0)
run: |
rustup set profile minimal
rustup install 1.70.0
rustup override set nightly
# required by cargo-udeps
- name: Set up Rust (nightly)
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-x86_64-unknown-linux-gnu
default: true
profile: minimal
run: |
rustup set profile minimal
rustup install nightly
rustup override set nightly
# required only if you set `languages.rust.list_dependencies_backend.kind` to `"cargo-udeps"`
- name: Install cargo-udeps for Rust
Expand Down

0 comments on commit d292419

Please sign in to comment.