Upgrade infrastructure to Go 1.18 without requiring it (#2976)

This commit is contained in:
andig 2022-03-23 17:19:43 +01:00 • committed by GitHub
parent 515cd5f810
commit b65f05e95f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View file

@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: ^1.18
id: go
- name: Set up Node

View file

@ -83,7 +83,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: ^1.18
id: go
- name: Set up Node

View file

@ -63,7 +63,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: ^1.18
id: go
- name: Setup Node

View file

@ -1,3 +1,5 @@
run:
go: 1.18
issues:
exclude:
- .regActualCurrent. is unused

View file

@ -18,7 +18,7 @@ RUN make clean ui
# STEP 2 build executable binary
FROM golang:1.17-alpine as builder
FROM golang:1.18-alpine as builder
# Install git + SSL ca certificates.
# Git is required for fetching the dependencies.

View file

@ -1,10 +1,8 @@
# executes binary build excluding UI
# STEP 2 build executable binary
FROM golang:1.17-alpine as builder
# define RELEASE=1 to hide commit hash
ARG RELEASE={{ env "RELEASE" }}
FROM golang:1.18-alpine as builder
WORKDIR /build

View file

@ -20,10 +20,10 @@ RUN make clean ui
# STEP 2 build executable binary
FROM golang:1.17-alpine as builder
# define RELEASE=1 to hide commit hash
ARG RELEASE={{ env "RELEASE" }}
FROM golang:1.18-alpine as builder
# Install git + SSL ca certificates.
# Git is required for fetching the dependencies.