Skip to content

Commit

Permalink
Upgrade Golang version (1.22.2 -> 1.22.5) (#330)
Browse files Browse the repository at this point in the history
Resolves: #329

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
  • Loading branch information
sarroutbi committed Jul 31, 2024
1 parent 0831113 commit b1b8513
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross_compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staticcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b1b8513

Please sign in to comment.