chore: github action go stable
parent
c6b324aa44
commit
0c2edbace1
.github/workflows
|
@ -16,13 +16,8 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.20"
|
||||
check-latest: true
|
||||
cache: true
|
||||
- run: go test -race -coverprofile=coverage.out ./...
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
files: coverage.out
|
||||
go-version: "stable"
|
||||
- run: go test -race -failfast ./...
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
@ -33,9 +28,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.20"
|
||||
check-latest: true
|
||||
cache: true
|
||||
go-version: "stable"
|
||||
- run: go build ./cmd/changeloguru
|
||||
golangci-lint:
|
||||
name: golangci-lint
|
||||
|
@ -46,9 +39,7 @@ jobs:
|
|||
fetch-depth: 0
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.20"
|
||||
check-latest: true
|
||||
cache: true
|
||||
go-version: "stable"
|
||||
- uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: latest
|
||||
|
|
Loading…
Reference in New Issue