diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49ffaf50..9a9fac39 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.23 + go-version: 1.25 - name: Build run: go build ./... diff --git a/Dockerfile b/Dockerfile index 761f3897..55651086 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:1.23 AS build +FROM golang:1.25 AS build WORKDIR /go/src/github.com/zricethezav/gitleaks COPY . . RUN VERSION=$(git describe --tags --abbrev=0) && \ CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/version.Version=${VERSION}" -FROM alpine:3.19 +FROM alpine:3.22 RUN apk add --no-cache bash git openssh-client COPY --from=build /go/src/github.com/zricethezav/gitleaks/bin/* /usr/bin/ diff --git a/go.mod b/go.mod index 962f2d4f..c19c9d23 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/zricethezav/gitleaks/v8 -go 1.23.8 +go 1.25.4 require ( github.com/BobuSumisu/aho-corasick v1.0.3