mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-05 08:46:57 +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
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.22.9
|
go-version: 1.23.6
|
||||||
|
|
||||||
- name: Lint Go Code
|
- name: Lint Go Code
|
||||||
run: |
|
run: |
|
||||||
export PATH=$PATH:$(go env GOPATH)/bin
|
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
|
make ci-lint
|
||||||
|
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.22.9
|
go-version: 1.23.6
|
||||||
|
|
||||||
- name: Run Unit tests
|
- name: Run Unit tests
|
||||||
run: make test
|
run: make test
|
||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.22.9
|
go-version: 1.23.6
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make build && make build-sponge
|
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
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.22.9
|
go-version: 1.23.6
|
||||||
|
|
||||||
- name: Create release on GitHub
|
- name: Create release on GitHub
|
||||||
uses: goreleaser/goreleaser-action@v3
|
uses: goreleaser/goreleaser-action@v3
|
||||||
|
Reference in New Issue
Block a user