From 981ca24d405d5cb84f59cbbf6be41223fcf79fd7 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 30 Oct 2021 01:23:47 +0300 Subject: [PATCH] ci: remove linting job - covered be pre-commit.ci (#9247) (cherry picked from commit 69b0a7b306e6f1864626094e09532387d46866c4) --- .github/workflows/main.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a9435357..800c30468 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -177,33 +177,6 @@ jobs: CODECOV_NAME: ${{ matrix.name }} run: bash scripts/report-coverage.sh -F GHA,${{ runner.os }} - linting: - runs-on: ubuntu-latest - permissions: - contents: read - - steps: - - uses: actions/checkout@v2 - with: - persist-credentials: false - - - uses: actions/setup-python@v2 - - - name: set PY - run: echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV - - - uses: actions/cache@v2 - with: - path: ~/.cache/pre-commit - key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install tox - - - run: tox -e linting - deploy: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pytest'