CI: update golangci-lint config (#251)

This commit is contained in:
Jason Lyu
2023-05-11 10:51:55 +08:00
committed by GitHub
parent d061f1c040
commit 3b54548914
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
check-latest: true
go-version: '1.20'

View File

@@ -10,7 +10,7 @@ linters-settings:
gci:
sections:
- standard
- prefix(github.com/xjasonlyu/tun2socks)
- default
- prefix(github.com/xjasonlyu/tun2socks)
staticcheck:
go: '1.20'