Skip to content

Commit

Permalink
Add caching to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alecdotninja committed Jan 15, 2024
1 parent adf235d commit 3d49ee1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

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

Expand All @@ -28,6 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2.7.3
- name: Build (release)
run: cargo build --all --release

Expand All @@ -37,6 +39,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2.7.3
- name: Run Rustfmt
run: cargo fmt --all -- --check

Expand All @@ -46,6 +49,7 @@ jobs:

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

Expand All @@ -55,5 +59,6 @@ jobs:

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

0 comments on commit 3d49ee1

Please sign in to comment.