feat: bump go to 1.22 (#1537)

support for 1.19 ended, see https://endoflife.date/go
This commit is contained in:
Roger Meier authored and GitHub committed 2024-09-29 11:59:46 -05:00
1 parent 4e8d7d3790
commit a0f2f4671c
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.22
- name: Build
run: go build -v ./...
+2 -2
View File
@@ -1,12 +1,13 @@
module github.com/zricethezav/gitleaks/v8
go 1.19
go 1.22
require (
github.com/BobuSumisu/aho-corasick v1.0.3
github.com/charmbracelet/lipgloss v0.5.0
github.com/fatih/semgroup v1.2.0
github.com/gitleaks/go-gitdiff v0.9.0
github.com/google/go-cmp v0.6.0
github.com/h2non/filetype v1.1.3
github.com/rs/zerolog v1.26.1
github.com/spf13/cobra v1.2.1
@@ -16,7 +17,6 @@ require (
require (
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect