switch to Go 1.21 for CI and docker images

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-05-14 20:36:57 +02:00
parent b3ce596385
commit 76fddc126d
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
4 changed files with 8 additions and 8 deletions

View file

@ -11,11 +11,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ['1.20']
go: ['1.21']
os: [ubuntu-latest, macos-latest]
upload-coverage: [true]
include:
- go: '1.20'
- go: '1.21'
os: windows-latest
upload-coverage: false
@ -232,7 +232,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- name: Build
run: |
@ -296,7 +296,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- name: Build
run: |
@ -517,7 +517,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- uses: actions/checkout@v3
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3

View file

@ -5,7 +5,7 @@ on:
tags: 'v*'
env:
GO_VERSION: 1.20.12
GO_VERSION: 1.21.10
jobs:
prepare-sources-with-deps:

View file

@ -1,4 +1,4 @@
FROM golang:1.20-bullseye as builder
FROM golang:1.21-bullseye as builder
ENV GOFLAGS="-mod=readonly"

View file

@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18 AS builder
FROM golang:1.21-alpine3.18 AS builder
ENV GOFLAGS="-mod=readonly"