Skip to content

Commit

Permalink
chore(deps): update Go to 1.23 (#2432)
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
  • Loading branch information
hiddeco authored Aug 15, 2024
1 parent 5656b69 commit 5cfde82
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
test-unit:
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down Expand Up @@ -65,13 +65,13 @@ jobs:
checks: write # Used to create checks (linting comments) on PRs
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install linter
env:
GOLANGCI_LINT_VERSION: 1.57.2
GOLANGCI_LINT_VERSION: 1.60.1
working-directory: /usr/local/bin
run: |
curl -sSfL https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz \
Expand All @@ -86,7 +86,7 @@ jobs:
lint-charts:
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -103,7 +103,7 @@ jobs:
checks: write # Used to create checks (linting comments) on PRs
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -119,7 +119,7 @@ jobs:
check-codegen:
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
needs: [test-unit, lint-go, lint-charts, lint-proto, lint-ui, check-codegen]
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.0.2
with:
go-version: '1.22.4'
go-version: '1.23.0'
- name: Set version for unstable builds
id: unstable-version
run: |
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
if: github.event_name == 'release'
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
strategy:
matrix:
os: [linux, darwin, windows]
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
if: github.event_name != 'release'
runs-on: ubuntu-latest
container:
image: golang:1.22.6-bookworm
image: golang:1.23.0-bookworm
strategy:
matrix:
os: [linux, darwin, windows]
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
go: "1.22"
go: "1.23"
build-tags:
- dockerhub
- ghcr
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN NODE_ENV='production' VERSION=${VERSION} pnpm run build
####################################################################################################
# back-end-builder
####################################################################################################
FROM --platform=$BUILDPLATFORM golang:1.22.6-bookworm AS back-end-builder
FROM --platform=$BUILDPLATFORM golang:1.23.0-bookworm AS back-end-builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM golang:1.22.6-bookworm
FROM golang:1.23.0-bookworm

ARG TARGETARCH

ARG BUF_VERSION=v1.26.1
ARG CODE_GENERATOR_VERSION=v0.29.3
ARG CONTROLLER_GEN_VERSION=v0.15.0
ARG GOIMPORTS_VERSION=v0.21.0
ARG GOLANGCI_LINT_VERSION=1.57.2
ARG GOLANGCI_LINT_VERSION=1.60.1
ARG HELM_VERSION=v3.12.3
ARG NODE_MAJOR=20
ARG PROTOC_VERSION=25.3
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/akuity/kargo

go 1.22.6
go 1.23.0

require (
connectrpc.com/connect v1.16.2
Expand Down

0 comments on commit 5cfde82

Please sign in to comment.