Skip to content

Commit a2a05d0

Browse files
committed
Flatten cargo-outdated CI job into the individual project jobs
1 parent 1c9d2e0 commit a2a05d0

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,12 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v3
4444
- uses: dtolnay/rust-toolchain@nightly
45+
- uses: dtolnay/install@cargo-outdated
4546
- run: git fetch origin --unshallow refs/solution/${{matrix.project}} HEAD
4647
- run: git rev-parse FETCH_HEAD
4748
- run: git rebase HEAD FETCH_HEAD
4849
- run: cargo test
4950
working-directory: ${{matrix.project}}
50-
51-
outdated:
52-
name: Outdated
53-
runs-on: ubuntu-latest
54-
if: github.event_name != 'pull_request'
55-
timeout-minutes: 45
56-
steps:
57-
- uses: actions/checkout@v3
58-
- uses: dtolnay/install@cargo-outdated
59-
- run: cargo outdated --workspace --exit-code 1
51+
- run: cargo outdated --exit-code 1
52+
working-directory: ${{matrix.project}}
53+
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)