diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a52fdea..013d9af 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,9 +5,16 @@ on: branches: - master - dev + +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: CARGO_TERM_COLOR: always GRPCURLV: "1.8.1" + jobs: lint: name: rustfmt