mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-28 13:35:37 +00:00
ci: try moving to rust-toolchain (#745)
action-rs' action seems to not be really maintained anymore and throws some redundant warnings that kinda clog up outputs. As such, I feel like moving to a more active action is probably worth it.
This commit is contained in:
@@ -31,15 +31,16 @@ jobs:
|
||||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 # https://github.com/actions-rs/toolchain/commit/88dc2356392166efad76775c878094f4e83ff746
|
||||
- name: Set up Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@88e7c2e1da2693cf72d58fce9416206818e61dea # https://github.com/dtolnay/rust-toolchain/commit/88e7c2e1da2693cf72d58fce9416206818e61dea
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
- name: Enable Rust cache
|
||||
uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0
|
||||
with:
|
||||
key: ${{ matrix.triple.target }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user