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 3d682aa commit 6050c94
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 @@ -34,6 +39,8 @@ jobs:

msrv:
name: Rust 1.39.0
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand All @@ -53,6 +60,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 6050c94

Please sign in to comment.