Skip to content

Commit

Permalink
Merge pull request #483 from coreosbot-releng/repo-templates
Browse files Browse the repository at this point in the history
Sync repo templates ⚙
  • Loading branch information
cgwalters committed Jun 2, 2023
2 parents 6c0feac + ca6dd32 commit a14d8d8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: cargo build
run: cargo build
run: cargo build --all-targets
- name: cargo test
run: cargo test
run: cargo test --all-targets
tests-release-stable:
name: Tests (release), stable toolchain
runs-on: ubuntu-latest
Expand All @@ -50,9 +50,9 @@ jobs:
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: cargo build (release)
run: cargo build --release
run: cargo build --all-targets --release
- name: cargo test (release)
run: cargo test --release
run: cargo test --all-targets --release
tests-release-msrv:
name: Tests (release), minimum supported toolchain
runs-on: ubuntu-latest
Expand All @@ -72,9 +72,9 @@ jobs:
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: cargo build (release)
run: cargo build --release
run: cargo build --all-targets --release
- name: cargo test (release)
run: cargo test --release
run: cargo test --all-targets --release
linting:
name: Lints, pinned toolchain
runs-on: ubuntu-latest
Expand All @@ -91,7 +91,7 @@ jobs:
- name: cargo fmt (check)
run: cargo fmt -- --check -l
- name: cargo clippy (warnings)
run: cargo clippy -- -D warnings
run: cargo clippy --all-targets -- -D warnings
tests-other-channels:
name: Tests, unstable toolchain
runs-on: ubuntu-latest
Expand All @@ -109,6 +109,6 @@ jobs:
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
- name: cargo build
run: cargo build
run: cargo build --all-targets
- name: cargo test
run: cargo test
run: cargo test --all-targets

0 comments on commit a14d8d8

Please sign in to comment.