summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@users.noreply.github.com>2022-10-07 12:04:14 +0100
committerPradyun Gedam <pradyunsg@users.noreply.github.com>2022-10-07 12:04:14 +0100
commit2b9e3a958acf5810bb935f95a35ac260e5ac681b (patch)
tree3fefbaf73ece8665d8fccc3069b5bb2730fcdd44 /.github
parent21752556f1e8353dc6eec2d9154522eda950c27c (diff)
downloadpip-2b9e3a958acf5810bb935f95a35ac260e5ac681b.tar.gz
Remove pre-commit from GitHub Actions
This is a step in moving linting completely to pre-commit.ci.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 4 insertions, 16 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 792a3e311..d3c64ee40 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,17 +55,6 @@ jobs:
- "noxfile.py"
if: github.event_name == 'pull_request'
- pre-commit:
- name: pre-commit
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- - uses: pre-commit/action@v2.0.0
- with:
- extra_args: --all-files --hook-stage=manual
-
packaging:
name: packaging
runs-on: ubuntu-latest
@@ -103,7 +92,7 @@ jobs:
name: tests / ${{ matrix.python }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
- needs: [pre-commit, packaging, determine-changes]
+ needs: [packaging, determine-changes]
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name != 'pull_request'
@@ -151,7 +140,7 @@ jobs:
name: tests / ${{ matrix.python }} / ${{ matrix.os }} / ${{ matrix.group }}
runs-on: ${{ matrix.os }}-latest
- needs: [pre-commit, packaging, determine-changes]
+ needs: [packaging, determine-changes]
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name != 'pull_request'
@@ -225,7 +214,7 @@ jobs:
name: tests / zipapp
runs-on: ubuntu-latest
- needs: [pre-commit, packaging, determine-changes]
+ needs: [packaging, determine-changes]
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name != 'pull_request'
@@ -257,7 +246,7 @@ jobs:
env:
_PIP_USE_IMPORTLIB_METADATA: 'true'
- needs: [pre-commit, packaging, determine-changes]
+ needs: [packaging, determine-changes]
if: >-
needs.determine-changes.outputs.tests == 'true' ||
github.event_name != 'pull_request'
@@ -292,7 +281,6 @@ jobs:
- determine-changes
- docs
- packaging
- - pre-commit
- tests-unix
- tests-windows
- tests-zipapp