1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v6
16- - uses : j178/prek-action@v1
16+ - uses : j178/prek-action@v2
1717` ` `
1818
1919` prek` is always invoked as:
@@ -24,12 +24,12 @@ prek run --show-diff-on-failure --color=always <extra-args>
2424
2525# # Version Tags
2626
27- Major and minor tags are moving tags. For example, `v1 ` and `v1.1 ` are not fixed releases :
27+ Major and minor tags are moving tags. For example, `v2 ` and `v2.0 ` are not fixed releases :
2828
29- - ` v1 ` always points to the latest `v1 .x.y` release
30- - ` v1.1 ` always points to the latest `v1.1 .y` release
29+ - ` v2 ` always points to the latest `v2 .x.y` release
30+ - ` v2.0 ` always points to the latest `v2.0 .y` release
3131
32- For a stable reference, pin to a specific release tag such as `v1.2.3 `, or pin to a commit SHA.
32+ For a stable reference, pin to a specific release tag such as `v2.0.0 `, or pin to a commit SHA.
3333
3434# # Inputs
3535
@@ -58,15 +58,15 @@ Install and run against all files:
5858` ` ` yaml
5959steps:
6060 - uses: actions/checkout@v6
61- - uses: j178/prek-action@v1
61+ - uses: j178/prek-action@v2
6262` ` `
6363
6464Pass extra arguments :
6565
6666` ` ` yaml
6767steps:
6868 - uses: actions/checkout@v6
69- - uses: j178/prek-action@v1
69+ - uses: j178/prek-action@v2
7070 with:
7171 extra-args: '--all-files --directory packages/'
7272` ` `
@@ -76,7 +76,7 @@ Pin a specific `prek` version:
7676` ` ` yaml
7777steps:
7878 - uses: actions/checkout@v6
79- - uses: j178/prek-action@v1
79+ - uses: j178/prek-action@v2
8080 with:
8181 prek-version: '0.2.30'
8282` ` `
@@ -86,7 +86,7 @@ Resolve a semver range:
8686` ` ` yaml
8787steps:
8888 - uses: actions/checkout@v6
89- - uses: j178/prek-action@v1
89+ - uses: j178/prek-action@v2
9090 with:
9191 prek-version: '0.3.x'
9292` ` `
@@ -96,7 +96,7 @@ Install only:
9696` ` ` yaml
9797steps:
9898 - uses: actions/checkout@v6
99- - uses: j178/prek-action@v1
99+ - uses: j178/prek-action@v2
100100 with:
101101 install-only: true
102102 - run: prek run --show-diff-on-failure --color=always --all-files
@@ -107,7 +107,7 @@ Disable verbose log output after the run:
107107` ` ` yaml
108108steps:
109109 - uses: actions/checkout@v6
110- - uses: j178/prek-action@v1
110+ - uses: j178/prek-action@v2
111111 with:
112112 show-verbose-logs: false
113113` ` `
0 commit comments