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 authored Aug 2, 2022
1 parent 95e1a99 commit 4d63561
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
uses: dtolnay/rust-toolchain@${{ matrix.rust }}
- run: cargo build --verbose
- run: cargo doc --verbose
# We run a few other builds, but only on one instance to avoid doing
Expand Down Expand Up @@ -92,9 +90,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 4d63561

Please sign in to comment.