Skip to content

Bump Swatinem/rust-cache from 2.7.0 to 2.7.1 #58

Bump Swatinem/rust-cache from 2.7.0 to 2.7.1

Bump Swatinem/rust-cache from 2.7.0 to 2.7.1 #58

Workflow file for this run

---
name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [macos]
steps:
- uses: actions/checkout@v4
- uses: hecrj/[email protected]
- uses: Swatinem/[email protected]
with:
key: ${{ runner.os }}
# same checks as with `cargo build`, but no binaries are generated at the end, saving some time.
- run: cargo check
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hecrj/[email protected]
with:
rust-version: stable
components: rustfmt
- run: cargo fmt -- --check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hecrj/[email protected]
with:
rust-version: stable
components: clippy
- uses: Swatinem/[email protected]
with:
key: lint
- run: cargo clippy