update to go1.21

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2024-07-15 11:07:48 +02:00
parent ff579d8713
commit c84bb887a4
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
4 changed files with 9 additions and 9 deletions

View file

@ -16,7 +16,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.20.x go-version: 1.21.x
- name: Run goreleaser - name: Run goreleaser
uses: goreleaser/goreleaser-action@v1 uses: goreleaser/goreleaser-action@v1
with: with:

View file

@ -1,7 +1,7 @@
name: Continuous Integration name: Continuous Integration
env: env:
GO_VERSION: 1.20 GO_VERSION: 1.21
on: on:
push: push:
@ -27,7 +27,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.20.x go-version: 1.21.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
@ -49,7 +49,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.20.x go-version: 1.21.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
@ -77,7 +77,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.20.x go-version: 1.21.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
@ -104,7 +104,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.20.x go-version: 1.21.x
- name: Cache build - name: Cache build
uses: actions/cache@v1 uses: actions/cache@v1
with: with:

View file

@ -26,5 +26,5 @@ linters-settings:
max-func-lines: 0 max-func-lines: 0
run: run:
go: '1.20' go: '1.21'
timeout: 10m timeout: 10m

View file

@ -1,6 +1,6 @@
ARG BASE_IMAGE_BUILDER=golang ARG BASE_IMAGE_BUILDER=golang
ARG ALPINE_VERSION=3.19 ARG ALPINE_VERSION=3.20
ARG GO_VERSION=1.20 ARG GO_VERSION=1.21
FROM ${BASE_IMAGE_BUILDER}:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder FROM ${BASE_IMAGE_BUILDER}:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
ARG GOARCH=amd64 ARG GOARCH=amd64