From b66ac75e4fa93d86d78fccd6e2f36d2c0698b2a2 Mon Sep 17 00:00:00 2001 From: Richard Gomez <32133502+rgmz@users.noreply.github.com> Date: Tue, 9 Dec 2025 10:15:58 -0500 Subject: [PATCH] build: switch to Go 1.24 (#2002) --- .github/workflows/test.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a9fac39..ffb16b20 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.25 + go-version: 1.24 - name: Build run: go build ./... diff --git a/Dockerfile b/Dockerfile index 55651086..9a9f1faf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25 AS build +FROM golang:1.24 AS build WORKDIR /go/src/github.com/zricethezav/gitleaks COPY . . RUN VERSION=$(git describe --tags --abbrev=0) && \ diff --git a/go.mod b/go.mod index c19c9d23..a413f1db 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/zricethezav/gitleaks/v8 -go 1.25.4 +go 1.24.11 require ( github.com/BobuSumisu/aho-corasick v1.0.3