Merge pull request #276 from tlsnotary/273-find-alternative-github-action-to-install-rust-toolchain

Use toolchain from dtolnay instead of outdated actions-rs
This commit is contained in:
Hendrik Eeckhaut
2023-06-21 22:18:47 +02:00
committed by GitHub

View File

@@ -36,10 +36,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Nightly with rustfmt
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: nightly
components: rustfmt
@@ -47,9 +47,8 @@ jobs:
run: cargo +nightly fmt --check --all
- name: Stable
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v2.0.0