Skip to content

Commit

Permalink
Improving cargo CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbor committed Apr 3, 2024
1 parent a8b7900 commit 9c93f54
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,24 @@ env:

jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo build --verbose

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo test --verbose

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo clippy --verbose


0 comments on commit 9c93f54

Please sign in to comment.