Skip to content

Commit

Permalink
Prevent actions duplication on noop merge commits
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 31, 2022
1 parent c9916cd commit fe2264f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ env:
RUSTFLAGS: -Dwarnings

jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master

test:
name: Rust ${{matrix.rust}}
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -32,6 +37,8 @@ jobs:

node:
name: Node
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand All @@ -54,6 +61,8 @@ jobs:

miri:
name: Miri
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
env:
MIRIFLAGS: -Zmiri-strict-provenance
Expand All @@ -72,6 +81,8 @@ jobs:

fuzz:
name: Fuzz
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand Down

0 comments on commit fe2264f

Please sign in to comment.