Skip to content

Commit

Permalink
Use dtolnay/rust-toolchain in the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
orium committed Jul 31, 2023
1 parent 8a5c756 commit 7a16233
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ jobs:
sudo apt-get install -y libpango1.0-dev libgraphene-1.0-dev libgtk-4-dev
- name: Install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
default: true
components: rustfmt, rust-src

- name: Install cargo plugins
Expand All @@ -34,7 +31,7 @@ jobs:
cargo install cargo-deadlinks
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

Expand All @@ -50,18 +47,13 @@ jobs:
sudo apt-get install -y libpango1.0-dev libgraphene-1.0-dev libgtk-4-dev
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
default: true
uses: dtolnay/rust-toolchain@stable

- name: Install cargo plugins
run: |
cargo install cargo-msrv
run: cargo install cargo-msrv

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

Expand Down

0 comments on commit 7a16233

Please sign in to comment.