mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
CI: Alphabetical sort of clippy jobs
This commit is contained in:
parent
07c11b071d
commit
8cb05049be
1 changed files with 12 additions and 11 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
@ -135,28 +135,29 @@ jobs:
|
||||||
working-directory: ./rtic
|
working-directory: ./rtic
|
||||||
run: cargo clippy
|
run: cargo clippy
|
||||||
|
|
||||||
clippytime:
|
clippychannel:
|
||||||
name: Cargo clippy rtic-time
|
name: Cargo clippy rtic-channel
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Fail on warnings
|
- name: Fail on warnings
|
||||||
working-directory: ./rtic-time
|
working-directory: ./rtic-channel
|
||||||
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs
|
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs
|
||||||
|
|
||||||
- name: Add Rust component clippy
|
- name: Add Rust component clippy
|
||||||
working-directory: ./rtic-time
|
working-directory: ./rtic-channel
|
||||||
run: rustup component add clippy
|
run: rustup component add clippy
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
working-directory: ./rtic-time
|
working-directory: ./rtic-channel
|
||||||
run: cargo clippy
|
run: cargo clippy
|
||||||
|
|
||||||
|
|
||||||
clippymonotonics:
|
clippymonotonics:
|
||||||
name: Cargo clippy rtic-monotonics
|
name: Cargo clippy rtic-monotonics
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
@ -178,27 +179,27 @@ jobs:
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
working-directory: ./rtic-monotonics
|
working-directory: ./rtic-monotonics
|
||||||
run: cargo clippy
|
run: cargo clippy
|
||||||
|
|
||||||
clippychannel:
|
clippytime:
|
||||||
name: Cargo clippy rtic-channel
|
name: Cargo clippy rtic-time
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Fail on warnings
|
- name: Fail on warnings
|
||||||
working-directory: ./rtic-channel
|
working-directory: ./rtic-time
|
||||||
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs
|
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs
|
||||||
|
|
||||||
- name: Add Rust component clippy
|
- name: Add Rust component clippy
|
||||||
working-directory: ./rtic-channel
|
working-directory: ./rtic-time
|
||||||
run: rustup component add clippy
|
run: rustup component add clippy
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
working-directory: ./rtic-channel
|
working-directory: ./rtic-time
|
||||||
run: cargo clippy
|
run: cargo clippy
|
||||||
|
|
||||||
# Verify all examples, checks
|
# Verify all examples, checks
|
||||||
|
|
Loading…
Reference in a new issue