Skip to content

Merge pull request #3 from chrissimpkins/add-ci-tests #7

Merge pull request #3 from chrissimpkins/add-ci-tests

Merge pull request #3 from chrissimpkins/add-ci-tests #7

Workflow file for this run

name: rustfmt Checks
on:
push:
branches: main
pull_request:
jobs:
rustfmt-checks:
runs-on: ubuntu-latest
name: rustfmt checks
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Install the latest stable Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Run rustfmt check
run: cargo fmt --all --check