diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 112d4b1..6088779 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,12 +3,15 @@ on: workflow_dispatch: push: pull_request: - types: [opened] + types: [opened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@4 - uses: actions-rs/toolchain@v1 with: profile: minimal