Skip to content

Commit

Permalink
Merge pull request #91 from coreosbot-releng/repo-templates
Browse files Browse the repository at this point in the history
Sync repo templates ⚙
  • Loading branch information
bgilbert committed Jun 5, 2023
2 parents e447471 + 77add98 commit 133b25a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
# Minimum supported Rust version (MSRV)
MSRV: 1.61.0
# Pinned toolchain for linting
ACTIONS_LINTS_TOOLCHAIN: 1.69.0
ACTIONS_LINTS_TOOLCHAIN: 1.70.0

jobs:
tests-stable:
Expand All @@ -36,9 +36,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 @@ -52,9 +52,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 @@ -68,9 +68,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 @@ -87,7 +87,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 @@ -105,6 +105,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 133b25a

Please sign in to comment.