renet/.github/workflows/rustfmt.yaml

19 lines
363 B
YAML

on:
push:
branches: [ staging, trying ]
pull_request:
name: Rustfmt check
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
- name: Check fmt
run: cargo fmt -- --check