Skip to content

Commit

Permalink
chore: bump golang to 1.22 and minor dependency bumps (#53)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Constanti <[email protected]>
  • Loading branch information
bavarianbidi authored Jun 13, 2024
1 parent 02675f5 commit 15c9089
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: '1.21.5'
go-version: '1.22.4'

- name: make build
run: make build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/foss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
name: foss-scan
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.5
- name: Set up Go 1.22.4
uses: actions/setup-go@v5
with:
go-version: '1.21.5'
go-version: '1.22.4'
id: go

- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: '1.21.5'
go-version: '1.22.4'

# - name: Synopsys Detect
# run: |
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ GOVULNCHECK ?= $(LOCALBIN)/govulncheck
KIND ?= $(LOCALBIN)/kind

## Tool Versions
GOLANGCI_LINT_VERSION ?= v1.53.3
GOLANGCI_LINT_VERSION ?= v1.59.1
GORELEASER_VERSION ?= v1.21.0
MDTOC_VERSION ?= v1.1.0
NANCY_VERSION ?= v1.0.42
NANCY_VERSION ?= v1.0.46
KIND_VERSION ?= v0.22.0

##@ Build
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

module github.com/mercedes-benz/garm-provider-k8s

go 1.21.5
go 1.22.4

require (
github.com/cloudbase/garm-provider-common v0.1.1
github.com/cloudbase/garm-provider-common v0.1.2
github.com/google/uuid v1.6.0
github.com/knadh/koanf/parsers/yaml v0.1.0
github.com/knadh/koanf/providers/file v0.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/cloudbase/garm-provider-common v0.1.1 h1:9SbkEevpycI/P3J7jEmjJf6VzdrxAIHkLppnjqaKAWU=
github.com/cloudbase/garm-provider-common v0.1.1/go.mod h1:igxJRT3OlykERYc6ssdRQXcb+BCaeSfnucg6I0OSoDc=
github.com/cloudbase/garm-provider-common v0.1.2 h1:EqSpUjw9rzo4PiUmteHkFtZNWCnRi0QXHRKZ+VA1IPo=
github.com/cloudbase/garm-provider-common v0.1.2/go.mod h1:igxJRT3OlykERYc6ssdRQXcb+BCaeSfnucg6I0OSoDc=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
2 changes: 1 addition & 1 deletion hack/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT

FROM golang:1.21.5 AS build
FROM golang:1.22.4 AS build

ARG garm_repo=https://github.com/cloudbase/garm
ARG garm_repo_ref=main
Expand Down
2 changes: 1 addition & 1 deletion hack/Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT

FROM golang:1.21.5-alpine AS build
FROM golang:1.22.4-alpine AS build

ARG garm_repo=https://github.com/cloudbase/garm
ARG garm_repo_ref=main
Expand Down

0 comments on commit 15c9089

Please sign in to comment.