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 37e89e1 commit 9924b79
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 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 @@ -39,6 +44,8 @@ jobs:

nightly:
name: Rust nightly
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand All @@ -65,6 +72,8 @@ jobs:

webassembly:
name: WebAssembly
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand All @@ -76,6 +85,8 @@ jobs:

fuzz:
name: Fuzz
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand All @@ -97,6 +108,8 @@ jobs:

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

0 comments on commit 9924b79

Please sign in to comment.