You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r
9
9
10
10
## Compatibility
11
11
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`.
13
13
The `skip-go-installation` option has been removed.
14
14
*`v2.0.0+` works with `golangci-lint` version >= `v1.28.3`
15
15
*`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:
38
38
name: lint
39
39
runs-on: ubuntu-latest
40
40
steps:
41
-
- uses: actions/checkout@v3
42
-
- uses: actions/setup-go@v4
41
+
- uses: actions/checkout@v4
42
+
- uses: actions/setup-go@v5
43
43
with:
44
44
go-version: '1.21'
45
45
cache: false
46
46
- name: golangci-lint
47
-
uses: golangci/golangci-lint-action@v3
47
+
uses: golangci/golangci-lint-action@v4
48
48
with:
49
49
# Require: The version of golangci-lint to use.
50
50
# 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:
107
107
name: lint
108
108
runs-on: ${{ matrix.os }}
109
109
steps:
110
-
- uses: actions/checkout@v3
111
-
- uses: actions/setup-go@v4
110
+
- uses: actions/checkout@v4
111
+
- uses: actions/setup-go@v5
112
112
with:
113
113
go-version: ${{ matrix.go }}
114
114
cache: false
115
115
- name: golangci-lint
116
-
uses: golangci/golangci-lint-action@v3
116
+
uses: golangci/golangci-lint-action@v4
117
117
with:
118
118
# Require: The version of golangci-lint to use.
119
119
# 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