mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
[CI] Pin specific rustfmt version (#57)
* [CI] Specify specific rustfmt version * [CI] Specify platform in CI for rustfmt * [CI] Fix cargo fmt running missing nightly version
This commit is contained in:
parent
89fbd81331
commit
9c93e40650
1 changed files with 25 additions and 25 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -21,17 +21,17 @@ jobs:
|
||||||
run: cargo clippy --verbose
|
run: cargo clippy --verbose
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
- name: Install Formatting nightly
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: nightly
|
|
||||||
components: rustfmt
|
|
||||||
- name: Run Formatting check
|
|
||||||
run: cargo +nightly fmt --check --verbose
|
|
||||||
- name: Install Audit
|
- name: Install Audit
|
||||||
run: cargo install cargo-audit
|
run: cargo install cargo-audit
|
||||||
- name: Run Audit
|
- name: Run Audit
|
||||||
run: cargo audit --deny warnings
|
run: cargo audit --deny warnings
|
||||||
|
- name: Install Formatting nightly
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: nightly-2023-03-01
|
||||||
|
components: rustfmt
|
||||||
|
- name: Run Formatting check
|
||||||
|
run: cargo +nightly-2023-03-01 fmt --check --verbose
|
||||||
- name: Install MSRV
|
- name: Install MSRV
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue