Skip to content

Remove cargo-check step, only run checks once for PRs #104

Remove cargo-check step, only run checks once for PRs

Remove cargo-check step, only run checks once for PRs #104

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Cargo Format
jobs:
fmt:
name: Cargo Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check