Skip to content

Bump the actions group with 3 updates #268

Bump the actions group with 3 updates

Bump the actions group with 3 updates #268

Workflow file for this run

name: CI
on:
pull_request:
merge_group:
push:
branches:
- master
workflow_dispatch:
jobs:
tests:
name: Test Compilation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- run: cargo test --release
rustfmt:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- run: cargo fmt --check
clippy:
name: Check linter
runs-on: ubuntu-latest
env:
# Make sure CI fails on all warnings - including Clippy lints.
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
- run: cargo lint
typos:
name: Check typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: typos-action
uses: crate-ci/[email protected]