CI fix
This commit is contained in:
parent
30dcdb395a
commit
b0442bffa8
@ -9,3 +9,6 @@ insert_final_newline = true
|
|||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_size = 2
|
||||||
|
16
.github/workflows/rust.yml
vendored
16
.github/workflows/rust.yml
vendored
@ -20,6 +20,13 @@ jobs:
|
|||||||
- 1.51.0 # MSVR
|
- 1.51.0 # MSVR
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
# Important preparation step: override the latest default Rust version in GitHub CI
|
||||||
|
# with the current value of the iteration in the "strategy.matrix.rust"-array.
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: default
|
||||||
|
toolchain: ${{ matrix.rust }}
|
||||||
|
override: true
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --all-targets --verbose --features all
|
run: cargo build --all-targets --verbose --features all
|
||||||
# use some arbitrary no_std target
|
# use some arbitrary no_std target
|
||||||
@ -36,10 +43,15 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
||||||
- nightly
|
|
||||||
- 1.51.0 # MSVR
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
# Important preparation step: override the latest default Rust version in GitHub CI
|
||||||
|
# with the current value of the iteration in the "strategy.matrix.rust"-array.
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: default
|
||||||
|
toolchain: ${{ matrix.rust }}
|
||||||
|
override: true
|
||||||
- name: Rustfmt
|
- name: Rustfmt
|
||||||
run: cargo fmt -- --check
|
run: cargo fmt -- --check
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
|
Loading…
Reference in New Issue
Block a user