Skip to content

Commit 825a50d

Browse files
committed
chore: update workflow and doc
1 parent 8c13ec4 commit 825a50d

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

Diff for: .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
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

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,6 @@ typings/
9797

9898
# Text editor files
9999
.vscode/
100+
101+
# IntelliJ/WebStorm files
102+
.idea

Diff for: README.md

+9-6
Original file line numberDiff line numberDiff 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
@@ -89,15 +89,17 @@ on:
8989
- master
9090
- main
9191
pull_request:
92+
9293
permissions:
9394
contents: read
9495
# Optional: allow read access to pull request. Use with `only-new-issues` option.
9596
# pull-requests: read
97+
9698
jobs:
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

0 commit comments

Comments
 (0)