Skip to content

Commit

Permalink
Always check for the latest Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
joeig committed Jun 11, 2024
1 parent 9552e59 commit cdab2ff
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- run: go build ./cmd/dyndns-pdns
1 change: 1 addition & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- uses: golangci/golangci-lint-action@v6
with:
version: v1.57.2
1 change: 1 addition & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ jobs:
with:
go-version-file: "go.mod"
go-package: ./...
check-latest: true
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- run: |
gofmt -d .
test -z $(gofmt -l .)
1 change: 1 addition & 0 deletions .github/workflows/staticcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- run: go install honnef.co/go/tools/cmd/staticcheck@latest
- run: $(go env GOPATH)/bin/staticcheck ./...
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- run: go test -v -coverprofile="coverage.out" ./...
- run: go tool cover -func="coverage.out"

0 comments on commit cdab2ff

Please sign in to comment.