Skip to content

Commit

Permalink
Switch from actions-rs/toolchain to dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Jul 14, 2022
1 parent 788aebe commit 396e19b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ jobs:
uses: actions/checkout@v3

- name: Set up Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true

- name: (1.31.0) Downgrade serde_json
if: ${{ matrix.rust == '1.31.0' }}
Expand Down Expand Up @@ -70,11 +68,8 @@ jobs:
uses: actions/checkout@v3

- name: Set up nightly Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@nightly
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Rustfmt
Expand Down

0 comments on commit 396e19b

Please sign in to comment.