mirror of https://github.com/zhufuyi/sponge
chore: update github workflows
This commit is contained in:
parent
3b663ebf24
commit
ca6b37f244
|
@ -24,12 +24,12 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.22.9
|
||||
go-version: 1.23.6
|
||||
|
||||
- name: Lint Go Code
|
||||
run: |
|
||||
export PATH=$PATH:$(go env GOPATH)/bin
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.3
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8
|
||||
make ci-lint
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.22.9
|
||||
go-version: 1.23.6
|
||||
|
||||
- name: Run Unit tests
|
||||
run: make test
|
||||
|
@ -73,7 +73,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.22.9
|
||||
go-version: 1.23.6
|
||||
|
||||
- name: Build
|
||||
run: make build && make build-sponge
|
||||
|
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.22.9
|
||||
go-version: 1.23.6
|
||||
|
||||
- name: Create release on GitHub
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
|
|
Loading…
Reference in New Issue