Skip to content

style: apply stable rustfmt formatting #7

style: apply stable rustfmt formatting

style: apply stable rustfmt formatting #7

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- synchronize
- reopened
push:
branches:
- main
permissions:
contents: read
jobs:
verify:
name: Verify
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Restore Cargo cache
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all --check
- name: Run cargo check
run: cargo check --locked --all-targets
- name: Run cargo test
run: cargo test --locked