Skip to content

Commit

Permalink
Use the rust-toolchain.toml in github actions (#40)
Browse files Browse the repository at this point in the history
* Use the rust-toolchain.toml in github actions
  • Loading branch information
nh13 authored Feb 9, 2023
1 parent 2abb65b commit 4b928b1
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
uses: codota/toolchain@v1
with:
profile: minimal
toolchain: 1.57.0
override: true
toolchain: stable

- name: Cache dependencies
uses: Swatinem/rust-cache@v1
Expand All @@ -36,12 +35,10 @@ jobs:
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
uses: codota/toolchain@v1
with:
profile: minimal
toolchain: 1.57.0
override: true
components: rustfmt, clippy
toolchain: stable

- name: Cache dependencies
uses: Swatinem/rust-cache@v1
Expand Down Expand Up @@ -69,11 +66,10 @@ jobs:
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
uses: codota/toolchain@v1
with:
profile: minimal
toolchain: 1.57.0
override: true
toolchain: stable

- name: Cache dependencies
uses: Swatinem/rust-cache@v1
Expand Down

0 comments on commit 4b928b1

Please sign in to comment.