diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 1cc1d25..06e4944 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -9,7 +9,7 @@ on: branches: - master env: - GO_VERSION: 1.25.3 + GO_VERSION: 1.26.2 jobs: test: strategy: @@ -28,7 +28,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v9.2.0 with: - version: v2.6 + version: v2.9 - name: Test run: make test-unit - name: Upload coverage to Codecov diff --git a/Dockerfile b/Dockerfile index 692ef69..cd80e33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25.3 AS builder +FROM golang:1.26.2 AS builder WORKDIR /go/src/github.com/KohlsTechnology/blackbox-helloworld-responder COPY . . diff --git a/go.mod b/go.mod index 92fdb2c..05295a7 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/KohlsTechnology/blackbox-helloworld-responder -go 1.25.3 +go 1.26.2 diff --git a/main.go b/main.go index 6544868..e8987bd 100644 --- a/main.go +++ b/main.go @@ -30,7 +30,7 @@ import ( func main() { log.SetOutput(os.Stdout) - log.Println(version.Get()) + log.Println(versioninfo.Get()) portHTTP := 8080 portTCP := 8081 diff --git a/pkg/version/version.go b/pkg/version/version.go index 706c748..86a4e2f 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package version +package versioninfo import ( "fmt"