Skip to content

invalid go version '1.22.0': must match format 1.23 #1544

@djmv

Description

@djmv

Describe the bug
Make is failing because go version.

To Reproduce

git clone --quiet https://github.com/gitleaks/gitleaks.git $CLONE_FOLDER

Running command cd $CLONE_FOLDER
 
Running command make build

go fmt ./...
go: errors parsing go.mod:
/codebuild/output/src1656498656/src/gitleaks/go.mod:3: invalid go version '1.22.0': must match format 1.23
/codebuild/output/src1656498656/src/gitleaks/go.mod:5: unknown directive: toolchain
make: *** [Makefile:13: format] Error 1

Screenshots
image

Basic Info:

  • OS: python-3.11-bullseye
  • Gitleaks Version: Lastest Version

The lastest version is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions