Skip to content

Commit

Permalink
ci: better cargo test parameters + update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau committed May 27, 2024
1 parent da429ce commit 419f1fe
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Stable
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- uses: Swatinem/rust-cache@v2.5.0
- uses: Swatinem/rust-cache@v2.7.3

- name: "Build"
run: cargo build

- name: "Test"
run: cargo test --lib --bins --tests --examples --workspace
# Run all tests (bins, examples, lib, integration and docs)
# https://doc.rust-lang.org/cargo/commands/cargo-test.html#target-selection
run: cargo test

- name: "Check documentation"
# env:
Expand All @@ -42,7 +44,7 @@ jobs:
name: "Miri"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Miri
run: |
Expand All @@ -60,7 +62,7 @@ jobs:
name: Rustfmt and Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Nightly with rustfmt and clipy
uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit 419f1fe

Please sign in to comment.