Skip to content

CI: Run on main and on request in addition to pull requests #156

CI: Run on main and on request in addition to pull requests

CI: Run on main and on request in addition to pull requests #156

Workflow file for this run

name: rustfmt
on:
pull_request:
push:
workflow_dispatch:
jobs:
rustfmt:
runs-on: ubuntu-latest
container: rustlang/rust:nightly
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run cargo-fmt
run: cargo fmt --check