name: Run tests on: pull_request: paths-ignore: - "**.md" push: branches: - "master" concurrency: group: "${{ github.workflow }}-${{ github.ref }}" cancel-in-progress: true jobs: trust-graph: uses: ./.github/workflows/tests.yml lints: name: lints runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v3 - name: Setup rust toolchain uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Run cargo fmt uses: actions-rs/cargo@v1 with: command: fmt args: --all -- --check