go.mod: update to go v1.20

Go 1.20 is included in all currently supported distro versions.

Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
This commit is contained in:
Achilleas Koutsou 2024-04-10 13:11:38 +02:00 committed by Sanne Raymaekers
parent de54fc541e
commit f98169c29a
5 changed files with 9 additions and 9 deletions

View file

@ -65,7 +65,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: "1.20"
- env:
PGUSER: postgres
PGPASSWORD: foobar
@ -105,10 +105,10 @@ jobs:
name: "⌨ Golang Lint"
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
- name: Set up Go 1.20
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: "1.20"
id: go
- name: Check out code into the Go module directory
@ -163,10 +163,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.19
- name: Set up Go 1.20
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: "1.20"
id: go
- name: Check out code into the Go module directory

View file

@ -68,7 +68,7 @@ The requirements for this project are:
At build-time, the following software is required:
* `go >= 1.19`
* `go >= 1.20`
* `python-docutils >= 0.13`
* `krb5-devel` for fedora/rhel or `libkrb5-dev` for debian/ubuntu`
* `btrfs-progs-devel` for fedora/rhel or `libbtrfs-dev` for debian/ubuntu

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/osbuild/osbuild-composer
go 1.19
go 1.20
exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible

View file

@ -1,6 +1,6 @@
module github.com/osbuild/osbuild-composer/pkg/splunk_logger
go 1.19
go 1.20
require (
github.com/hashicorp/go-retryablehttp v0.7.5

View file

@ -2,7 +2,7 @@
set -eux
GO_VERSION=1.19.11
GO_VERSION=1.20.12
GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION
# this is the official way to get a different version of golang