diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b614080945..9ed0fd1a13 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: - name: Set up go uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 with: - go-version: '1.19.7' + go-version: '1.20.3' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 with: @@ -36,7 +36,7 @@ jobs: - name: Set up go uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 with: - go-version: '1.19.7' + go-version: '1.20.3' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 with: @@ -53,7 +53,7 @@ jobs: - name: Set up go uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 with: - go-version: '1.19.7' + go-version: '1.20.3' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 with: @@ -70,7 +70,7 @@ jobs: - name: Set up go uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 with: - go-version: '1.19.7' + go-version: '1.20.3' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 with: diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml index ea1aead2e8..350a3fd80c 100644 --- a/.github/workflows/update-deps.yml +++ b/.github/workflows/update-deps.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 with: - go-version: '1.19.7' + go-version: '1.20.3' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 - name: Update Dependencies id: update_deps diff --git a/.golangci.yaml b/.golangci.yaml index c50c401154..911b0e4791 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -22,7 +22,7 @@ linters: linters-settings: # please keep this alphabetized staticcheck: - go: "1.19" + go: "1.20" checks: [ "all", "-ST1000", # Incorrect or missing package comment diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 3e31ea705b..cf47139215 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -5,7 +5,7 @@ options: machineType: 'N1_HIGHCPU_8' steps: # Push the images -- name: 'docker.io/library/golang:1.19.7-bullseye' +- name: 'docker.io/library/golang:1.20.3-bullseye' id: images entrypoint: make env: @@ -20,7 +20,7 @@ steps: - dns-controller-push - kube-apiserver-healthcheck-push # Push the artifacts -- name: 'docker.io/library/golang:1.19.7-bullseye' +- name: 'docker.io/library/golang:1.20.3-bullseye' id: artifacts entrypoint: make env: @@ -35,7 +35,7 @@ steps: args: - gcs-upload-and-tag # Build cloudbuild artifacts (for attestation) -- name: 'docker.io/library/golang:1.19.7-bullseye' +- name: 'docker.io/library/golang:1.20.3-bullseye' id: cloudbuild-artifacts entrypoint: make env: diff --git a/go.mod b/go.mod index 436d777bc0..3cc08c8ae2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module k8s.io/kops -go 1.19 +go 1.20 replace ( github.com/docker/cli => github.com/docker/cli v20.10.21+incompatible diff --git a/hack/go.mod b/hack/go.mod index 764205daff..2a0f1c1a30 100644 --- a/hack/go.mod +++ b/hack/go.mod @@ -1,6 +1,6 @@ module k8s.io/kops/hack -go 1.19 +go 1.20 require ( github.com/client9/misspell v0.3.4 diff --git a/tests/e2e/go.mod b/tests/e2e/go.mod index d004bb6139..c523d0d8b7 100644 --- a/tests/e2e/go.mod +++ b/tests/e2e/go.mod @@ -1,6 +1,6 @@ module k8s.io/kops/tests/e2e -go 1.19 +go 1.20 replace k8s.io/kops => ../../.