mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
ci(gci/import): improve golangci.yml and add gci linter (#4010)
This commit is contained in:
2
.github/workflows/doc-build.yml
vendored
2
.github/workflows/doc-build.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
- name: Set Up Golang Environment
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22.5
|
||||
go-version: 1.23.4
|
||||
cache: false
|
||||
- name: download goframe docs
|
||||
run: ./download.sh
|
||||
|
||||
6
.github/workflows/golangci-lint.yml
vendored
6
.github/workflows/golangci-lint.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
golangci:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [ '1.20','1.21.4','1.22', '1.23' ]
|
||||
go-version: [ '1.20','1.21.4','1.22','1.23' ]
|
||||
name: golangci-lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -41,5 +41,5 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
||||
version: v1.60.1
|
||||
args: --timeout 3m0s
|
||||
version: v1.62.2
|
||||
args: --timeout 3m0s
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
- name: Set Up Golang Environment
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22.5
|
||||
go-version: 1.23.4
|
||||
|
||||
- name: Build CLI Binary
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user