This commit is contained in:
Anthony Sottile
2022-06-05 16:02:59 -04:00
parent 7a7fccb381
commit 646c83fcd0
+2 -2
View File
@@ -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
``` ```