|
1 | | -name: pre-commit-ci |
2 | | -on: |
3 | | - workflow_dispatch: |
4 | | - push: |
5 | | - branches: |
6 | | - - "**" |
7 | | - pull_request: |
8 | | - branches: |
9 | | - - "**" |
| 1 | +# name: pre-commit-ci |
| 2 | +# on: |
| 3 | +# workflow_dispatch: |
| 4 | +# push: |
| 5 | +# branches: |
| 6 | +# - "**" |
| 7 | +# pull_request: |
| 8 | +# branches: |
| 9 | +# - "**" |
10 | 10 |
|
11 | | -jobs: |
12 | | - pre-commit: |
13 | | - name: "Pre-commit checks" |
14 | | - runs-on: windows-latest |
15 | | - steps: |
16 | | - - uses: actions/checkout@v3 |
17 | | - - uses: actions/setup-python@v4 |
18 | | - id: setup_python |
19 | | - with: |
20 | | - python-version: "3.11" |
21 | | - cache: pip |
| 11 | +# jobs: |
| 12 | +# pre-commit: |
| 13 | +# name: "Pre-commit checks" |
| 14 | +# runs-on: ubuntu-latest |
| 15 | +# steps: |
| 16 | +# - uses: actions/checkout@v3 |
| 17 | +# - uses: actions/setup-python@v4 |
| 18 | +# id: setup_python |
| 19 | +# with: |
| 20 | +# python-version: "3.11" |
| 21 | +# cache: pip |
22 | 22 |
|
23 | | - - name: Install pre-commit |
24 | | - run: pip install --upgrade pre-commit |
| 23 | +# - name: Install pre-commit |
| 24 | +# run: pip install --upgrade -r requirements.txt |
25 | 25 |
|
26 | | - - name: Cache pre-commit tools |
27 | | - uses: actions/cache@v3 |
28 | | - with: |
29 | | - key: pre-commit-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('.pre-commit-config.yaml') }} |
30 | | - path: ~/.cache/pre-commit |
| 26 | +# - name: Cache pre-commit tools |
| 27 | +# uses: actions/cache@v3 |
| 28 | +# with: |
| 29 | +# key: pre-commit-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('.pre-commit-config.yaml') }} |
| 30 | +# path: ~/.cache/pre-commit |
31 | 31 |
|
32 | | - - name: Run pre-commit |
33 | | - run: pre-commit run --show-diff-on-failure |
| 32 | +# - name: Run pre-commit |
| 33 | +# run: pre-commit run --all-files --show-diff-on-failure |
34 | 34 |
|
35 | | - - name: Run pre-commit-ci-lite |
36 | | - uses: pre-commit-ci/lite-action@v1.0.1 |
37 | | - if: always() |
| 35 | +# - name: Run pre-commit-ci-lite |
| 36 | +# uses: pre-commit-ci/lite-action@v1.0.1 |
| 37 | +# if: always() |
0 commit comments