mirror of
https://github.com/pre-commit/action.git
synced 2025-11-07 10:46:56 +00:00
v3.0.0
This commit is contained in:
parent
7a7fccb381
commit
646c83fcd0
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v3
|
- uses: actions/setup-python@v3
|
||||||
- uses: pre-commit/action@v2.0.3
|
- uses: pre-commit/action@v3.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
This does a few things:
|
This does a few things:
|
||||||
|
|
@ -52,7 +52,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all
|
||||||
the files (use the template above except for the `pre-commit` action):
|
the files (use the template above except for the `pre-commit` action):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: pre-commit/action@v2.0.3
|
- uses: pre-commit/action@v3.0.0
|
||||||
with:
|
with:
|
||||||
extra_args: flake8 --all-files
|
extra_args: flake8 --all-files
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue