Skip to content

Commit

Permalink
Remove redundant job and problematic check (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Mar 29, 2022
1 parent bed6327 commit a3156e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/python-tests.yml
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions .pre-commit-config.yaml
Expand Up @@ -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"]

0 comments on commit a3156e6

Please sign in to comment.