Merge pull request #3501 from thaJeztah/bump_go_1.18

update go to 1.18.0
This commit is contained in:
Sebastiaan van Stijn 2022-03-29 09:54:05 +02:00 committed by GitHub
commit 6e9210e994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -59,7 +59,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.8
go-version: 1.18.0
-
name: Test
run: |

View File

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
ARG BASE_VARIANT=alpine
ARG GO_VERSION=1.17.8
ARG GO_VERSION=1.18.0
ARG XX_VERSION=1.1.0
ARG GOVERSIONINFO_VERSION=v1.3.0
ARG GOTESTSUM_VERSION=v1.7.0

View File

@ -1,5 +1,5 @@
variable "GO_VERSION" {
default = "1.17.8"
default = "1.18.0"
}
variable "VERSION" {
default = ""

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
ARG GO_VERSION=1.17.8
ARG GO_VERSION=1.18.0
ARG BUILDX_VERSION=0.7.1
FROM docker/buildx-bin:${BUILDX_VERSION} AS buildx

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
ARG GO_VERSION=1.17.8
ARG GO_VERSION=1.18.0
ARG GOLANGCI_LINT_VERSION=v1.45.2
FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION}-alpine AS golangci-lint

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
ARG GO_VERSION=1.17.8
ARG GO_VERSION=1.18.0
ARG MODOUTDATED_VERSION=v0.8.0
FROM golang:${GO_VERSION}-alpine AS base

View File

@ -20,7 +20,7 @@ var basicFunctions = template.FuncMap{
},
"split": strings.Split,
"join": strings.Join,
"title": strings.Title,
"title": strings.Title, //nolint:staticcheck // strings.Title is deprecated, but we only use it for ASCII, so replacing with golang.org/x/text is out of scope
"lower": strings.ToLower,
"upper": strings.ToUpper,
"pad": padWithSpace,