mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-04-28 03:00:14 -04:00
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:
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user