Skip to content

Rust Format

Rust Format #66

Workflow file for this run

---
name: Rust Format
on:
push:
branches:
- '**'
paths:
- '**/*.rs'
- 'src/*'
- 'Cargo.*'
- '.github/workflows/fmt.yml'
pull_request:
branches:
- main
paths:
- '**/*.rs'
- 'src/*'
- 'Cargo.*'
- '.github/workflows/fmt.yml'
schedule:
- cron: '0 1 * * 1'
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}