Skip to content

Bump actions/cache from 4.2.4 to 5.0.1 #2

Bump actions/cache from 4.2.4 to 5.0.1

Bump actions/cache from 4.2.4 to 5.0.1 #2

Workflow file for this run

name: CI
permissions:
contents: read
concurrency:
group: >
ci-${{ github.workflow }}-${{
github.event_name == 'pull_request' &&
github.event.pull_request.number ||
github.ref
}}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c # v1.15.2
with:
cache: true # toolchain/components are specified in rust-toolchain.toml
- name: Rustfmt
run: cargo fmt --check
- name: Clippy
run: cargo clippy --lib --tests --all-features -- -D warnings
- name: Tests
run: cargo test