Skip to content

Commit dc90375

Browse files
committed
Update workflows
1 parent 3dedc32 commit dc90375

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818

1919
- name: golangci-golint
2020
run: |
21-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0
21+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.52.2
2222
./bin/golangci-lint run -v ./...
2323

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
go:
13+
- "1.20"
1314
- "1.19"
1415
- "1.18"
1516
- "1.17"

.golangci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ linters:
33
enable:
44
- gofmt
55
- errcheck
6-
- deadcode
76
- gosimple
87
- govet
98
- ineffassign
109
- staticcheck
11-
- structcheck
1210
- typecheck
1311
- unused
14-
- varcheck
1512
- stylecheck
1613

1714
run:
@@ -21,6 +18,6 @@ run:
2118

2219
linters-settings:
2320
stylecheck:
24-
go: "1.17"
21+
go: "1.20"
2522
checks: ["all"]
2623
initialisms: ["AWS", "ARN", "IAM", "MQTT", "ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS"]

0 commit comments

Comments
 (0)