mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
ci: use dtolnay/rust-toolchain
This commit is contained in:
parent
5252910b8a
commit
470c8b6985
1 changed files with 3 additions and 15 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -16,11 +16,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install latest stable Rust
|
- name: Install latest stable Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
||||||
- name: Setup Rust dependency caching
|
- name: Setup Rust dependency caching
|
||||||
|
|
@ -37,11 +33,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install latest stable Rust
|
- name: Install latest stable Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
- name: Setup Rust dependency caching
|
- name: Setup Rust dependency caching
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
@ -53,11 +45,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install latest stable Rust
|
- name: Install latest stable Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
run: sudo apt-get update -y && sudo apt-get install libhwloc-dev -y
|
||||||
- name: Setup Rust dependency caching
|
- name: Setup Rust dependency caching
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue