File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 77 lint :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/setup-go@v3
11+ with :
12+ go-version : ^1.20
13+ - uses : actions/checkout@v3
1114 - name : golangci-lint
12- uses : golangci/golangci-lint-action@v2
15+ uses : golangci/golangci-lint-action@v3
1316 with :
14- version : v1.46
17+ version : v1.51.2
1518 test :
1619 runs-on : ubuntu-latest
1720 steps :
1821 - uses : actions/checkout@v3
1922 - name : Set up Go
2023 uses : actions/setup-go@v3
2124 with :
22- go-version : ^1.18
25+ go-version : ^1.20
2326 id : go
2427 - name : Download dependencies
2528 run : go mod download
2629 - name : Test
2730 run : go test -v -coverprofile=coverage.txt -covermode=count ./...
28- - uses : codecov/codecov-action@v2
31+ - uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 1515 - name : Set up Go
1616 uses : actions/setup-go@v3
1717 with :
18- go-version : ^1.18
18+ go-version : ^1.20
1919 - name : Release binaries
20- uses : goreleaser/goreleaser-action@v3
20+ uses : goreleaser/goreleaser-action@v4
2121 with :
2222 version : latest
2323 args : release --rm-dist
3232 uses : actions/checkout@v3
3333 - name : Docker meta
3434 id : meta
35- uses : docker/metadata-action@v3
35+ uses : docker/metadata-action@v4
3636 with :
3737 images : mdomke/git-semver,ghcr.io/mdomke/git-semver
3838 tags : |
5252 password : ${{ secrets.GITHUB_TOKEN }}
5353 - name : Build and push image
5454 id : docker_build
55- uses : docker/build-push-action@v3
55+ uses : docker/build-push-action@v4
5656 with :
5757 context : .
5858 push : true
You can’t perform that action at this time.
0 commit comments