Skip to content

Commit fe2264f

Browse files
committed
Prevent actions duplication on noop merge commits
1 parent c9916cd commit fe2264f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: .github/workflows/ci.yml

+11
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ env:
1212
RUSTFLAGS: -Dwarnings
1313

1414
jobs:
15+
pre_ci:
16+
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
17+
1518
test:
1619
name: Rust ${{matrix.rust}}
20+
needs: pre_ci
21+
if: needs.pre_ci.outputs.continue
1722
runs-on: ubuntu-latest
1823
strategy:
1924
fail-fast: false
@@ -32,6 +37,8 @@ jobs:
3237

3338
node:
3439
name: Node
40+
needs: pre_ci
41+
if: needs.pre_ci.outputs.continue
3542
runs-on: ubuntu-latest
3643
timeout-minutes: 45
3744
steps:
@@ -54,6 +61,8 @@ jobs:
5461

5562
miri:
5663
name: Miri
64+
needs: pre_ci
65+
if: needs.pre_ci.outputs.continue
5766
runs-on: ubuntu-latest
5867
env:
5968
MIRIFLAGS: -Zmiri-strict-provenance
@@ -72,6 +81,8 @@ jobs:
7281

7382
fuzz:
7483
name: Fuzz
84+
needs: pre_ci
85+
if: needs.pre_ci.outputs.continue
7586
runs-on: ubuntu-latest
7687
timeout-minutes: 45
7788
steps:

0 commit comments

Comments
 (0)