From 3816b84a8cc72ee70dc1b57fcf972f634eeee4e3 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 13 Feb 2025 10:52:34 -0500 Subject: [PATCH] feat: bump to build with go1.24 (#5321) Signed-off-by: Rui Chen --- .github/workflows/lint.yml | 2 +- .tool-versions | 2 +- Dockerfile | 2 +- Makefile | 2 +- e2e/go.mod | 2 +- go.mod | 2 +- testing/Dockerfile | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 683b14c8f..314916b37 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -68,7 +68,7 @@ jobs: uses: golangci/golangci-lint-action@051d91933864810ecd5e2ea2cfd98f6a5bca5347 # v6 with: # renovate: datasource=github-releases depName=golangci/golangci-lint - version: v1.62.2 + version: v1.64.4 skip-lint: needs: [changes] diff --git a/.tool-versions b/.tool-versions index cbda224d3..7de2aab64 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ node 22.12.0 -go 1.23.0 +go 1.24.0 diff --git a/Dockerfile b/Dockerfile index 3be802bd2..8b909c2f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # what distro is the image being built for ARG ALPINE_TAG=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099 ARG DEBIAN_TAG=12.8-slim@sha256:d365f4920711a9074c4bcd178e8f457ee59250426441ab2a5f8106ed8fe948eb -ARG GOLANG_TAG=1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596 +ARG GOLANG_TAG=1.24.0-alpine@sha256:5429efb7de864db15bd99b91b67608d52f97945837c7f6f7d1b779f9bfe46281 # renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp ARG DEFAULT_TERRAFORM_VERSION=1.10.5 diff --git a/Makefile b/Makefile index 620e01bf9..4d9c89b15 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ IMAGE_NAME := runatlantis/atlantis .DEFAULT_GOAL := help # renovate: datasource=github-releases depName=golangci/golangci-lint -GOLANGCI_LINT_VERSION := v1.59.1 +GOLANGCI_LINT_VERSION := v1.64.4 .PHONY: help help: ## List targets & descriptions diff --git a/e2e/go.mod b/e2e/go.mod index ba7f5a24a..60d32cf7f 100644 --- a/e2e/go.mod +++ b/e2e/go.mod @@ -1,6 +1,6 @@ module github.com/runatlantis/atlantis/e2e -go 1.23.5 +go 1.24.0 require ( github.com/google/go-github/v68 v68.0.0 diff --git a/go.mod b/go.mod index e42545695..93a479bb2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/runatlantis/atlantis -go 1.23.5 +go 1.24.0 require ( code.gitea.io/sdk/gitea v0.19.0 diff --git a/testing/Dockerfile b/testing/Dockerfile index c997796c2..02bfd9793 100644 --- a/testing/Dockerfile +++ b/testing/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.23.5@sha256:8c10f21bec412f08f73aa7b97ca5ac5f28a39d8a88030ad8a339fd0a781d72b4 +FROM golang:1.24.0@sha256:2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da RUN apt-get update && apt-get --no-install-recommends -y install unzip \ && apt-get clean \