Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Apr 18, 2024
1 parent 44174f0 commit 4f8e465
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,23 @@ concurrency:
cancel-in-progress: true

jobs:
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- run: cargo build --workspace

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: ["1.72", stable]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- run: cargo build --workspace
- run: cargo build --workspace --no-default-features
- run: cargo test --workspace --all-targets --all-features
- run: cargo test --workspace --all-targets --no-default-features
- run: cargo test --workspace --all-targets --no-default-features --features serde
if: matrix.rust == 'stable'
- run: cargo test --workspace --doc --all-features
- run: cargo test --workspace --doc --no-default-features
- run: cargo test --workspace --doc --no-default-features --features serde
if: matrix.rust == 'stable'

clippy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4f8e465

Please sign in to comment.