diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index bf1184e0..d5623a68 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -3,13 +3,23 @@ name: PR Test on: pull_request: branches: + # develop is the integration trunk: feature PRs land there, so without it + # every feature PR reported no checks at all and only got tested once the + # release PR reached master. + - develop - master +# One run per PR: a push supersedes whatever is still compiling for that PR +# instead of queueing another full Rust + Flutter suite beside it. +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: subosito/flutter-action@v2 with: