mirror of
https://github.com/pre-commit/action.git
synced 2026-08-19 02:37:26 +00:00
v3.0.0
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@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:
|
||||
@@ -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):
|
||||
|
||||
```yaml
|
||||
- uses: pre-commit/action@v2.0.3
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
with:
|
||||
extra_args: flake8 --all-files
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user