diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 63ac19c3..c4c12136 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: ^1.19 + go-version: ^1.20 cache: true - uses: dotnet/nbgv@master diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 49234aef..ab443d17 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: ^1.19 + go-version: ^1.20 cache: true - name: golangci-lint @@ -32,4 +32,4 @@ jobs: with: args: --timeout=60m -E gofmt --verbose --print-resources-usage --build-tags full env: - GOGC: "10" \ No newline at end of file + GOGC: "10" diff --git a/Dockerfile b/Dockerfile index 23bea693..15ca17c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-bullseye as builder +FROM golang:1.20-bullseye as builder ARG VER=devel ARG BUILDTAGS="" diff --git a/go.mod b/go.mod index 68d46d4d..174be0bf 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tg123/sshpiper -go 1.19 +go 1.20 replace golang.org/x/crypto => ./crypto