File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 5252 version :
5353 - " "
5454 - " latest"
55- - " v1.51 "
56- - " v1.51 .2"
55+ - " v1.53 "
56+ - " v1.53 .2"
5757 runs-on : ${{ matrix.os }}
5858 permissions :
5959 contents : read
Original file line number Diff line number Diff line change @@ -97,3 +97,6 @@ typings/
9797
9898# Text editor files
9999.vscode /
100+
101+ # IntelliJ/WebStorm files
102+ .idea
Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ jobs:
4141 - uses : actions/checkout@v3
4242 - uses : actions/setup-go@v4
4343 with :
44- go-version : ' 1.17 '
44+ go-version : ' 1.20 '
4545 cache : false
4646 - name : golangci-lint
4747 uses : golangci/golangci-lint-action@v3
4848 with :
49- # Optional : version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
50- version : v1.29
49+ # Require : version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
50+ version : v1.53
5151
5252 # Optional: working directory, useful for monorepos
5353 # working-directory: somedir
8989 - master
9090 - main
9191 pull_request :
92+
9293permissions :
9394 contents : read
9495 # Optional: allow read access to pull request. Use with `only-new-issues` option.
9596 # pull-requests: read
97+
9698jobs :
9799 golangci :
98100 strategy :
99101 matrix :
100- go : [1.17 ]
102+ go : ['1.20' ]
101103 os : [macos-latest, windows-latest]
102104 name : lint
103105 runs-on : ${{ matrix.os }}
@@ -110,8 +112,9 @@ jobs:
110112 - name : golangci-lint
111113 uses : golangci/golangci-lint-action@v3
112114 with :
113- # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
114- version : v1.29
115+ # Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
116+ version : v1.53
117+
115118 # Optional: working directory, useful for monorepos
116119 # working-directory: somedir
117120
You can’t perform that action at this time.
0 commit comments