chore: update github action
parent
e2ec575af0
commit
16c6c7b531
|
@ -16,7 +16,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.18"
|
||||
go-version: "1.19"
|
||||
check-latest: true
|
||||
cache: true
|
||||
- run: go test -race -coverprofile=coverage.out ./...
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.18"
|
||||
go-version: "1.19"
|
||||
check-latest: true
|
||||
cache: true
|
||||
- run: go build ./cmd/update-go-mod
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.18"
|
||||
go-version: "1.19"
|
||||
check-latest: true
|
||||
cache: true
|
||||
- uses: golangci/golangci-lint-action@v3
|
||||
|
|
|
@ -17,10 +17,10 @@ jobs:
|
|||
fetch-depth: 0
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.18"
|
||||
go-version: "1.19"
|
||||
check-latest: true
|
||||
cache: true
|
||||
- uses: goreleaser/goreleaser-action@v2
|
||||
- uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
|
|
|
@ -17,4 +17,5 @@ archives:
|
|||
- goos: windows
|
||||
format: zip
|
||||
changelog:
|
||||
skip: true
|
||||
skip: false
|
||||
use: github
|
||||
|
|
Loading…
Reference in New Issue