Skip to content

Commit

Permalink
Fix @rev parameter of dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
dtolnay/rust-toolchain parses the desired toolchain version from the `@rev` parameter. If one wants to use the explicit `toolchain` input, `@master` should be specified.
  • Loading branch information
LingMan committed Aug 2, 2022
1 parent 95e1a99 commit 07301fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo build --verbose
Expand Down Expand Up @@ -92,9 +92,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- name: Check formatting
run: |
Expand Down

0 comments on commit 07301fa

Please sign in to comment.