Skip to content

Commit

Permalink
ci: update checkout version, switch rust caching
Browse files Browse the repository at this point in the history
  • Loading branch information
evmar committed Feb 18, 2025
1 parent ceae089 commit d4c94cc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,11 @@ jobs:
RUST_BACKTRACE: 1

steps:
- uses: actions/checkout@v2
- uses: dtolnay/[email protected]
with:
components: rustfmt
- uses: actions/checkout@v4
#- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt -- --check
- name: Cargo cache
uses: actions/cache@v2
with:
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
path: ~/.cargo/registry
- name: Build
run: cargo build --verbose -F crlf
- name: Run tests
Expand Down

0 comments on commit d4c94cc

Please sign in to comment.