File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 24
24
steps :
25
25
- uses : actions/checkout@v1
26
26
- uses : actions/setup-python@v1
27
- - uses : pre-commit/action@v1.1.1
27
+ - uses : pre-commit/action@v2.0.0
28
28
` ` `
29
29
30
30
This does a few things:
@@ -44,7 +44,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all
44
44
the files (use the template above except for the `pre-commit` action) :
45
45
46
46
` ` ` yaml
47
- - uses: pre-commit/action@v1.1.1
47
+ - uses: pre-commit/action@v2.0.0
48
48
with:
49
49
extra_args: flake8 --all-files
50
50
` ` `
@@ -59,7 +59,7 @@ here's an example configuration for that (use the template above except for the
59
59
`pre-commit` action) :
60
60
61
61
` ` ` yaml
62
- - uses: pre-commit/action@v1.1.1
62
+ - uses: pre-commit/action@v2.0.0
63
63
with:
64
64
token: ${{ secrets.GITHUB_TOKEN }}
65
65
` ` `
You can’t perform that action at this time.
0 commit comments