Skip to content

Commit

Permalink
ci: update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Oct 12, 2023
1 parent 4dc795f commit f59b16e
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
Expand Down Expand Up @@ -44,13 +44,13 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
toolchain: ${{ matrix.toolchain }}
components: clippy

- id: cache
Expand All @@ -65,14 +65,10 @@ jobs:
name: Run Lint Checks
run: cargo clippy --tests --benches --examples --workspace --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf -D clippy::style -D clippy::pedantic

- id: testdoc
name: Run Documentation Tests
- id: doc
name: Run Documentation Checks
run: cargo test --doc

- id: builddoc
name: Build Documentation
run: cargo doc --no-deps --bins --examples --workspace --all-features

unit:
name: Units
runs-on: ubuntu-latest
Expand All @@ -85,7 +81,7 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
Expand Down Expand Up @@ -123,15 +119,15 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable

- id: cache
name: Enable Job Cache
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2

- id: test
name: Run Integration Tests
Expand Down

0 comments on commit f59b16e

Please sign in to comment.