Skip to content

Commit

Permalink
Try to only build once
Browse files Browse the repository at this point in the history
  • Loading branch information
alecdotninja committed Jan 15, 2024
1 parent 3d49ee1 commit fbe3278
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
name: ⏱️ Benchmark
runs-on: ubuntu-latest

needs:
- build

steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2.7.3
Expand Down Expand Up @@ -47,18 +50,24 @@ jobs:
name: 🧹 Lint
runs-on: ubuntu-latest

needs:
- build

steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2.7.3
- name: Run Clippy
run: cargo clippy --all
run: cargo clippy --all --release

test:
name: 🧪 Test
runs-on: ubuntu-latest

needs:
- build

steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2.7.3
- name: Run tests
run: cargo test --all
run: cargo test --all --release

0 comments on commit fbe3278

Please sign in to comment.