From a890a47cfda70ff02d00b1872436f9a1e6c3cd79 Mon Sep 17 00:00:00 2001 From: Marco Vito Moscaritolo Date: Fri, 11 Oct 2024 19:03:30 +0200 Subject: [PATCH] chore(build): Update to use go 1.23.2 --- .github/workflows/go.yml | 3 ++- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- Dockerfile.dev | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 973cecb9b26..0e395d217b3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,7 +13,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '^1.20' + go-version: '^1.23' + check-latest: true id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9d765019a0..f1693ef2eb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '^1.20' + go-version: '^1.23' check-latest: true - name: Compile man page markup id: gen-man-page-md diff --git a/Dockerfile b/Dockerfile index 5d5268ad669..6c42e7533b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.23.1 as builder +FROM golang:1.23.2 as builder WORKDIR /go/src/mikefarah/yq diff --git a/Dockerfile.dev b/Dockerfile.dev index f111488ed53..8c407190c7c 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM golang:1.23.1 +FROM golang:1.23.2 RUN apt-get update && \ apt-get install -y npm && \