mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 17:10:17 +00:00
make sure rust toolchain is from rust-toolchain.toml in github workflows
This commit is contained in:
15
.github/workflows/ci-code.yaml
vendored
15
.github/workflows/ci-code.yaml
vendored
@@ -26,10 +26,9 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'install nightly rust toolchain with rustfmt'
|
||||
- name: 'install rust toolchain with rustfmt'
|
||||
run: |
|
||||
rustup update --no-self-update nightly
|
||||
rustup default nightly
|
||||
cargo version
|
||||
rustup component add rustfmt
|
||||
|
||||
- name: 'cargo fmt'
|
||||
@@ -57,10 +56,9 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'install nightly rust toolchain'
|
||||
- name: 'install rust toolchain'
|
||||
run: |
|
||||
rustup update --no-self-update nightly
|
||||
rustup default nightly
|
||||
cargo version
|
||||
|
||||
- name: cargo build
|
||||
run: cargo build --target "${TARGET_ARCH}-unknown-uefi"
|
||||
@@ -87,10 +85,9 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'install nightly rust toolchain with clippy'
|
||||
- name: 'install rust toolchain with clippy'
|
||||
run: |
|
||||
rustup update --no-self-update nightly
|
||||
rustup default stable
|
||||
cargo version
|
||||
rustup component add clippy
|
||||
|
||||
- name: cargo clippy
|
||||
|
||||
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@@ -39,10 +39,9 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'install nightly rust toolchain'
|
||||
- name: 'install rust toolchain'
|
||||
run: |
|
||||
rustup update --no-self-update nightly
|
||||
rustup default nightly
|
||||
cargo version
|
||||
|
||||
- name: 'assemble artifacts'
|
||||
run: ./hack/assemble.sh
|
||||
|
||||
Reference in New Issue
Block a user