mirror of
https://github.com/logos-blockchain/logos-blockchain-circuits.git
synced 2026-05-18 23:39:47 +00:00
Use rust action that handles rust-toolchain.toml files.
This commit is contained in:
parent
2c0344e6d2
commit
e8d3a4e950
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
@ -16,14 +16,13 @@ jobs:
|
||||
|
||||
# Stable toolchain for building and clippy, version and components from rust-toolchain.toml.
|
||||
- name: Install Rust Toolchain
|
||||
uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 # Version 1.0.6
|
||||
uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # Version 1.16.0
|
||||
|
||||
# Nightly toolchain for rustfmt only — nightly is required for formatting features not yet stable.
|
||||
- name: Install Nightly Toolchain (fmt)
|
||||
uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 # Version 1.0.6
|
||||
uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # Version 1.16.0
|
||||
with:
|
||||
toolchain: nightly-2026-02-28
|
||||
profile: minimal
|
||||
components: rustfmt
|
||||
|
||||
- name: Cache Cargo artifacts
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # Version 4.2.2
|
||||
|
||||
- name: Install Rust Toolchain
|
||||
uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 # Version 1.0.6
|
||||
uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # Version 1.16.0
|
||||
|
||||
- name: Cache Cargo artifacts
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # Version 4.2.3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user