Skip to content

Commit

Permalink
Move testing of cargo dev new_lint to cargo dev workflow
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
flip1995 committed Mar 1, 2022
1 parent e511476 commit 7394464
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/clippy.yml
Expand Up @@ -74,10 +74,3 @@ jobs:
run: bash .github/driver.sh
env:
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 changes: 0 additions & 7 deletions .github/workflows/clippy_bors.yml
Expand Up @@ -143,13 +143,6 @@ jobs:
env:
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:
needs: changelog
runs-on: ubuntu-latest
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/clippy_dev.yml
Expand Up @@ -36,6 +36,13 @@ jobs:
- name: Test fmt
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
# bors the build completed, as there is no practical way to detect when a
# workflow is successful listening to webhooks only.
Expand Down

0 comments on commit 7394464

Please sign in to comment.