Skip to content

Commit 552a57d

Browse files
178inabaldez
andauthored
docs: update the version of the action used in the README example (#977)
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
1 parent a83e3d1 commit 552a57d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r
99

1010
## Compatibility
1111

12-
* `v3.0.0+` requires explicit setup-go installation step prior to using this action: `uses: actions/setup-go@v3`.
12+
* `v4.0.0+` requires an explicit setup-go installation step before using this action: `uses: actions/setup-go@v5`.
1313
The `skip-go-installation` option has been removed.
1414
* `v2.0.0+` works with `golangci-lint` version >= `v1.28.3`
1515
* `v1.2.2` is deprecated due to we forgot to change the minimum version of `golangci-lint` to `v1.28.3` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
@@ -38,13 +38,13 @@ jobs:
3838
name: lint
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v3
42-
- uses: actions/setup-go@v4
41+
- uses: actions/checkout@v4
42+
- uses: actions/setup-go@v5
4343
with:
4444
go-version: '1.21'
4545
cache: false
4646
- name: golangci-lint
47-
uses: golangci/golangci-lint-action@v3
47+
uses: golangci/golangci-lint-action@v4
4848
with:
4949
# Require: The version of golangci-lint to use.
5050
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
@@ -107,13 +107,13 @@ jobs:
107107
name: lint
108108
runs-on: ${{ matrix.os }}
109109
steps:
110-
- uses: actions/checkout@v3
111-
- uses: actions/setup-go@v4
110+
- uses: actions/checkout@v4
111+
- uses: actions/setup-go@v5
112112
with:
113113
go-version: ${{ matrix.go }}
114114
cache: false
115115
- name: golangci-lint
116-
uses: golangci/golangci-lint-action@v3
116+
uses: golangci/golangci-lint-action@v4
117117
with:
118118
# Require: The version of golangci-lint to use.
119119
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.

0 commit comments

Comments
 (0)