Skip to content

Commit

Permalink
Add caching to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lhvy authored Dec 23, 2024
1 parent 6f75657 commit 087e7fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Cargo Build & Test

on:
push:
- main
pull_request:

env:
Expand All @@ -21,6 +22,9 @@ jobs:
- name: Set up Rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- name: Load Cache
uses: Swatinem/rust-cache@v2

- name: Format
run: cargo fmt --check

Expand Down

0 comments on commit 087e7fd

Please sign in to comment.