From d7841acb38488fbcd4909110ebb1e44a2cf3e8df Mon Sep 17 00:00:00 2001 From: Oleksandr Stepanov Date: Mon, 19 Aug 2024 16:33:01 +0200 Subject: [PATCH] ci: Set cancel in progress and concurency limit --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b923ed0..f3fed1c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,6 +2,10 @@ name: "Rust CI" on: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: CARGO_TERM_COLOR: "always" CARGO_INCREMENTAL: "0"