Skip to content

Commit a78df06

Browse files
ci.yml,nightly.yml: Move the mismatcher job to ci.yml
The dependency mismatcher job should run on each PR to spot issues as soon as possible. Signed-off-by: Tomás González <[email protected]>
1 parent 78d500d commit a78df06

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,15 @@ jobs:
191191
steps:
192192
- uses: actions/checkout@v3
193193
- uses: EmbarkStudios/cargo-deny-action@v1
194+
195+
mismatcher:
196+
name: Check for mismatched dependencies (those that have more than one version)
197+
runs-on: ubuntu-latest
198+
steps:
199+
- uses: actions/checkout@v2
200+
with:
201+
ref: "${{ github.event.inputs.rev }}"
202+
- name: Run the container to execute the dependency mismatcher script
203+
uses: ./.github/actions/ci_script
204+
with:
205+
ci-flags: "mismatcher"

.github/workflows/nightly.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,3 @@ jobs:
5555
run: docker run -v $(pwd):/tmp/parsec -w /tmp/parsec --security-opt seccomp=unconfined --env RUST_TOOLCHAIN_VERSION=1.66.0 ghcr.io/parallaxsecond/parsec-service-test-all /tmp/parsec/ci.sh coverage
5656
- name: Collect coverage results
5757
run: bash <(curl -s https://codecov.io/bash)
58-
59-
mismatcher:
60-
name: Check for mismatched dependencies (those that have more than one version)
61-
runs-on: ubuntu-latest
62-
steps:
63-
- uses: actions/checkout@v2
64-
with:
65-
ref: "${{ github.event.inputs.rev }}"
66-
- name: Run the container to execute the dependency mismatcher script
67-
run: docker run -v $(pwd):/tmp/parsec -w /tmp/parsec ghcr.io/parallaxsecond/parsec-service-test-all /tmp/parsec/ci.sh mismatcher

0 commit comments

Comments
 (0)