From a3156e6c3816db1e5cb417c568b5dcdfcb205fce Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 29 Mar 2022 07:01:48 -0500 Subject: [PATCH] Remove redundant job and problematic check (#765) --- .github/workflows/python-tests.yml | 24 ------------------------ .pre-commit-config.yaml | 9 --------- 2 files changed, 33 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 19afc1c8a9..61fb4f833a 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -7,30 +7,6 @@ on: - cron: "0 8 * * *" jobs: - # Run "pre-commit run --all-files" - pre-commit: - runs-on: ubuntu-20.04 - timeout-minutes: 2 - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - # ref: https://github.com/pre-commit/action - - uses: pre-commit/action@v2.0.0 - - name: Help message if pre-commit fail - if: ${{ failure() }} - run: | - echo "You can install pre-commit hooks to automatically run formatting" - echo "on each commit with:" - echo " pre-commit install" - echo "or you can run by hand on staged files with" - echo " pre-commit run" - echo "or after-the-fact on already committed files with" - echo " pre-commit run --all-files" - build: runs-on: ${{ matrix.os }} timeout-minutes: 20 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 968379cb84..b506f9f75a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,12 +48,3 @@ repos: rev: v8.12.0 hooks: - id: eslint - - - repo: https://github.com/sirosen/check-jsonschema - rev: 0.14.1 - hooks: - - id: check-jsonschema - name: "Check GitHub Workflows" - files: ^\.github/workflows/ - types: [yaml] - args: ["--schemafile", "https://json.schemastore.org/github-workflow"]