Skip to content

Commit b8a205a

Browse files
committed
Auto merge of rust-lang#8488 - flip1995:ci-cargo-dev-new-lint, r=llogiq
Move testing of cargo dev new_lint to cargo dev workflow This should be placed there. No need to run this in PR CI, if clippy_dev isn't touched. (It will be run by bors anyway) changelog: none
2 parents 28b1fe5 + 7394464 commit b8a205a

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.github/workflows/clippy.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,3 @@ jobs:
7474
run: bash .github/driver.sh
7575
env:
7676
OS: ${{ runner.os }}
77-
78-
- name: Test cargo dev new lint
79-
run: |
80-
cargo dev new_lint --name new_early_pass --pass early
81-
cargo dev new_lint --name new_late_pass --pass late
82-
cargo check
83-
git reset --hard HEAD

.github/workflows/clippy_bors.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,6 @@ jobs:
143143
env:
144144
OS: ${{ runner.os }}
145145

146-
- name: Test cargo dev new lint
147-
run: |
148-
cargo dev new_lint --name new_early_pass --pass early
149-
cargo dev new_lint --name new_late_pass --pass late
150-
cargo check
151-
git reset --hard HEAD
152-
153146
integration_build:
154147
needs: changelog
155148
runs-on: ubuntu-latest

.github/workflows/clippy_dev.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ jobs:
3636
- name: Test fmt
3737
run: cargo dev fmt --check
3838

39+
- name: Test cargo dev new lint
40+
run: |
41+
cargo dev new_lint --name new_early_pass --pass early
42+
cargo dev new_lint --name new_late_pass --pass late
43+
cargo check
44+
git reset --hard HEAD
45+
3946
# These jobs doesn't actually test anything, but they're only used to tell
4047
# bors the build completed, as there is no practical way to detect when a
4148
# workflow is successful listening to webhooks only.

0 commit comments

Comments
 (0)