chore: github action go stable

main
sudo pacman -Syu 2023-03-29 00:38:23 +07:00
parent c6b324aa44
commit 0c2edbace1
1 changed files with 4 additions and 13 deletions

View File

@ -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