Skip to content

Commit

Permalink
Update go version to 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: vadimartynov <[email protected]>
  • Loading branch information
vadimartynov committed Oct 30, 2024
1 parent 353f7ec commit 33374a6
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/ci_templates/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ steps:
{!{ tmpl.Exec "login_readonly_registry_step" . | strings.Indent 2 }!}
{!{ tmpl.Exec "werf_install_step" . | strings.Indent 2 }!}

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v3
with:
go-version: '1.22'
go-version: '1.23'

- name: Run go generate
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,10 @@ jobs:
channel: ${{env.WERF_CHANNEL}}
# </template: werf_install_step>

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v3
with:
go-version: '1.22'
go-version: '1.23'

- name: Run go generate
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test_pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ jobs:
channel: ${{env.WERF_CHANNEL}}
# </template: werf_install_step>

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v3
with:
go-version: '1.22'
go-version: '1.23'

- name: Run go generate
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ jobs:
channel: ${{env.WERF_CHANNEL}}
# </template: werf_install_step>

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v3
with:
go-version: '1.22'
go-version: '1.23'

- name: Run go generate
run: |
Expand Down
2 changes: 1 addition & 1 deletion dhctl/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/deckhouse/deckhouse/dhctl

go 1.22
go 1.23.1

require (
github.com/BurntSushi/toml v1.3.2
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/deckhouse/deckhouse

go 1.22.8
go 1.23.1

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module tools

go 1.22.8
go 1.23.1

require (
github.com/Masterminds/sprig v2.22.0+incompatible
Expand Down
4 changes: 2 additions & 2 deletions werf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ shell:
beforeInstall:
{{/* TODO: Move it to the dev image */}}
- rm -rf /usr/local/go
- curl -sSfL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz -o - | tar -C /usr/local -zxvf -
- curl -sSfL https://go.dev/dl/go1.23.1.linux-amd64.tar.gz -o - | tar -C /usr/local -zxvf -
{{- include "base components" . | nindent 2 }}

---
Expand Down Expand Up @@ -324,7 +324,7 @@ shell:

---
artifact: golangci-lint-artifact
from: {{ $.Images.BASE_GOLANG_22_ALPINE_DEV }}
from: {{ $.Images.BASE_GOLANG_23_ALPINE }}
shell:
install:
- export GOPROXY={{ .GOPROXY }}
Expand Down

0 comments on commit 33374a6

Please sign in to comment.