mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 08:59:23 +00:00
Auto merge of #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
This commit is contained in:
commit
b8a205aeb8
3 changed files with 7 additions and 14 deletions
7
.github/workflows/clippy.yml
vendored
7
.github/workflows/clippy.yml
vendored
|
@ -74,10 +74,3 @@ jobs:
|
||||||
run: bash .github/driver.sh
|
run: bash .github/driver.sh
|
||||||
env:
|
env:
|
||||||
OS: ${{ runner.os }}
|
OS: ${{ runner.os }}
|
||||||
|
|
||||||
- name: Test cargo dev new lint
|
|
||||||
run: |
|
|
||||||
cargo dev new_lint --name new_early_pass --pass early
|
|
||||||
cargo dev new_lint --name new_late_pass --pass late
|
|
||||||
cargo check
|
|
||||||
git reset --hard HEAD
|
|
||||||
|
|
7
.github/workflows/clippy_bors.yml
vendored
7
.github/workflows/clippy_bors.yml
vendored
|
@ -143,13 +143,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
OS: ${{ runner.os }}
|
OS: ${{ runner.os }}
|
||||||
|
|
||||||
- name: Test cargo dev new lint
|
|
||||||
run: |
|
|
||||||
cargo dev new_lint --name new_early_pass --pass early
|
|
||||||
cargo dev new_lint --name new_late_pass --pass late
|
|
||||||
cargo check
|
|
||||||
git reset --hard HEAD
|
|
||||||
|
|
||||||
integration_build:
|
integration_build:
|
||||||
needs: changelog
|
needs: changelog
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
7
.github/workflows/clippy_dev.yml
vendored
7
.github/workflows/clippy_dev.yml
vendored
|
@ -36,6 +36,13 @@ jobs:
|
||||||
- name: Test fmt
|
- name: Test fmt
|
||||||
run: cargo dev fmt --check
|
run: cargo dev fmt --check
|
||||||
|
|
||||||
|
- name: Test cargo dev new lint
|
||||||
|
run: |
|
||||||
|
cargo dev new_lint --name new_early_pass --pass early
|
||||||
|
cargo dev new_lint --name new_late_pass --pass late
|
||||||
|
cargo check
|
||||||
|
git reset --hard HEAD
|
||||||
|
|
||||||
# These jobs doesn't actually test anything, but they're only used to tell
|
# These jobs doesn't actually test anything, but they're only used to tell
|
||||||
# bors the build completed, as there is no practical way to detect when a
|
# bors the build completed, as there is no practical way to detect when a
|
||||||
# workflow is successful listening to webhooks only.
|
# workflow is successful listening to webhooks only.
|
||||||
|
|
Loading…
Reference in a new issue