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 c5ce725 commit 0d23ebc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 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 @@ -35,6 +40,8 @@ jobs:

msrv:
name: Rust 1.31.0
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand All @@ -58,6 +65,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 0d23ebc

Please sign in to comment.