Skip to content

Commit

Permalink
Combine test & lint GH jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Nov 20, 2024
1 parent ac0f15c commit 973a924
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,18 @@ jobs:
- name: Set up Rust
uses: ./.github/actions/rust-setup

- name: Run Clippy
run: cargo clippy --all-targets --all-features -- --cap-lints=warn

- name: Install cargo-nextest
run: cargo install cargo-nextest --locked

- name: Run tests
run: cargo nextest run

lint:
runs-on: ubuntu-latest

steps:
- name: Check out repo
uses: actions/checkout@v4

- name: Set up Rust
uses: ./.github/actions/rust-setup

- name: Run Clippy
run: cargo clippy --all-targets --all-features -- --cap-lints=warn

build:
needs:
- test
- lint

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit 973a924

Please sign in to comment.