on: push: branches: [ staging, trying ] pull_request: name: Rustfmt check jobs: fmt: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Check fmt run: cargo fmt -- --check