mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-09-26 20:51:14 +08:00
chore: update github workflows
This commit is contained in:
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@@ -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
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user