Upgrade go version to 1.19 (#987)

* upgrade go version to 1.19

* upgrade go version to 1.19 in dockerfile and test.yml
This commit is contained in:
naoki kuroda authored and GitHub committed 2022-09-25 09:06:50 -05:00
1 parent db43f9a342
commit e93d8cb696
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.18 go-version: 1.19
- name: Build - name: Build
run: go build -v ./... run: go build -v ./...
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.18 AS build FROM golang:1.19 AS build
WORKDIR /go/src/github.com/zricethezav/gitleaks WORKDIR /go/src/github.com/zricethezav/gitleaks
COPY . . COPY . .
RUN VERSION=$(git describe --tags --abbrev=0) && \ RUN VERSION=$(git describe --tags --abbrev=0) && \
+2 -2
View File
@@ -1,8 +1,9 @@
module github.com/zricethezav/gitleaks/v8 module github.com/zricethezav/gitleaks/v8
go 1.17 go 1.19
require ( require (
github.com/charmbracelet/lipgloss v0.5.0
github.com/fatih/semgroup v1.2.0 github.com/fatih/semgroup v1.2.0
github.com/gitleaks/go-gitdiff v0.8.0 github.com/gitleaks/go-gitdiff v0.8.0
github.com/h2non/filetype v1.1.3 github.com/h2non/filetype v1.1.3
@@ -13,7 +14,6 @@ require (
) )
require ( require (
github.com/charmbracelet/lipgloss v0.5.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect github.com/mattn/go-runewidth v0.0.13 // indirect