about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-01 20:05:21 +0000
committerbors <bors@rust-lang.org>2022-03-01 20:05:21 +0000
commitb8a205aeb8588c144aa24074f6946ca61df4bab9 (patch)
tree8f640fefdd642b832ea5ce984adf55937711d6c6
parent28b1fe51293096e763da8442465ea42bd341a0b6 (diff)
parent73944645aa90e2193bb4139a4249d47e63c1f534 (diff)
downloadrust-b8a205aeb8588c144aa24074f6946ca61df4bab9.tar.gz
rust-b8a205aeb8588c144aa24074f6946ca61df4bab9.zip
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
-rw-r--r--.github/workflows/clippy.yml7
-rw-r--r--.github/workflows/clippy_bors.yml7
-rw-r--r--.github/workflows/clippy_dev.yml7
3 files changed, 7 insertions, 14 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 116ae031bb7..cd83bc9642b 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -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
diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml
index 989667037c1..f571485e6d3 100644
--- a/.github/workflows/clippy_bors.yml
+++ b/.github/workflows/clippy_bors.yml
@@ -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
diff --git a/.github/workflows/clippy_dev.yml b/.github/workflows/clippy_dev.yml
index fe8bce00fa8..5dfab1d2ebc 100644
--- a/.github/workflows/clippy_dev.yml
+++ b/.github/workflows/clippy_dev.yml
@@ -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.