Skip to content

Commit bde1322

Browse files
authored
Merge pull request #18787 from Veykril/push-uymlpukspxqr
Automatically cancel CI checks on new push to same PR
2 parents d3ebb14 + 3d9a15b commit bde1322

File tree

1 file changed

+5
-1
lines changed
  • src/tools/rust-analyzer/.github/workflows

1 file changed

+5
-1
lines changed

src/tools/rust-analyzer/.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
merge_group:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
913
env:
1014
CARGO_INCREMENTAL: 0
1115
CARGO_NET_RETRY: 10
@@ -103,7 +107,7 @@ jobs:
103107
- name: Run analysis-stats on the rust standard libraries
104108
if: matrix.os == 'ubuntu-latest'
105109
env:
106-
RUSTC_BOOTSTRAP: 1
110+
RUSTC_BOOTSTRAP: 1
107111
run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps --no-sysroot --no-test $(rustc --print sysroot)/lib/rustlib/src/rust/library/
108112

109113
- name: clippy

0 commit comments

Comments
 (0)