From b1b8513a44cf78f13bdae7a514ca4def5b08ef57 Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Date: Wed, 31 Jul 2024 10:29:25 +0200 Subject: [PATCH] Upgrade Golang version (1.22.2 -> 1.22.5) (#330) Resolves: #329 Signed-off-by: Sergio Arroutbi --- .github/workflows/cross_compile.yaml | 2 +- .github/workflows/deploy.yaml | 2 +- .github/workflows/golangci-lint.yaml | 2 +- .github/workflows/staticcheck.yaml | 2 +- README.md | 2 +- go.mod | 4 +--- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cross_compile.yaml b/.github/workflows/cross_compile.yaml index b038e4bb..ef0f62f4 100644 --- a/.github/workflows/cross_compile.yaml +++ b/.github/workflows/cross_compile.yaml @@ -27,7 +27,7 @@ jobs: - name: Go-Setup uses: actions/setup-go@v5 with: - go-version: '1.22.2' + go-version: '1.22.5' - name: Build env: diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 906beac7..8ec08340 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -24,7 +24,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.2' + go-version: '1.22.5' - name: Build run: make build diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 903cd9e2..a08ee76c 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22.2' + go-version: '1.22.5' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 diff --git a/.github/workflows/staticcheck.yaml b/.github/workflows/staticcheck.yaml index f96c3c6d..d566a0d6 100644 --- a/.github/workflows/staticcheck.yaml +++ b/.github/workflows/staticcheck.yaml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22.2' + go-version: '1.22.5' - name: StaticCheck run: | go install honnef.co/go/tools/cmd/staticcheck@latest && ls -1 && staticcheck ./... diff --git a/README.md b/README.md index 5d8ff0a5..7b37cc07 100644 --- a/README.md +++ b/README.md @@ -201,7 +201,7 @@ Note the **Running** state for the `tangserver` pods. ## Compilation Requirements for tang-operator compilation is as follows: -* Go compiler (v1.19.6+). Recommended version: v1.22.2. +* Go compiler (v1.19.6+). Recommended version: v1.22.5. * Docker (v24.0.7+ recommended). Podman (v4.9.0+ recommended) can be used as an alternative to Docker. Compilation of Tang operator needs to be performed in top directory, by executing diff --git a/go.mod b/go.mod index 20400a10..a61f8a2c 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/latchset/tang-operator -go 1.22.0 - -toolchain go1.22.2 +go 1.22.5 require ( github.com/go-logr/logr v1.4.2