This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
Build(deps): Bump Swatinem/rust-cache from 2.2.1 to 2.7.0 #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
rust-ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
name: Test `cargo fmt/clippy/test` on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
env: | |
CARGO_TERM_COLOR: "always" | |
RUSTFLAGS: "-Dwarnings" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 | |
- run: | | |
cargo fmt --check | |
cargo clippy | |
cargo test |