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:
parent
de54fc541e
commit
f98169c29a
5 changed files with 9 additions and 9 deletions
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
|
@ -65,7 +65,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: "1.20"
|
||||||
- env:
|
- env:
|
||||||
PGUSER: postgres
|
PGUSER: postgres
|
||||||
PGPASSWORD: foobar
|
PGPASSWORD: foobar
|
||||||
|
|
@ -105,10 +105,10 @@ jobs:
|
||||||
name: "⌨ Golang Lint"
|
name: "⌨ Golang Lint"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.20
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: "1.20"
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
|
@ -163,10 +163,10 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.20
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: "1.20"
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ The requirements for this project are:
|
||||||
|
|
||||||
At build-time, the following software is required:
|
At build-time, the following software is required:
|
||||||
|
|
||||||
* `go >= 1.19`
|
* `go >= 1.20`
|
||||||
* `python-docutils >= 0.13`
|
* `python-docutils >= 0.13`
|
||||||
* `krb5-devel` for fedora/rhel or `libkrb5-dev` for debian/ubuntu`
|
* `krb5-devel` for fedora/rhel or `libkrb5-dev` for debian/ubuntu`
|
||||||
* `btrfs-progs-devel` for fedora/rhel or `libbtrfs-dev` for debian/ubuntu
|
* `btrfs-progs-devel` for fedora/rhel or `libbtrfs-dev` for debian/ubuntu
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,6 +1,6 @@
|
||||||
module github.com/osbuild/osbuild-composer
|
module github.com/osbuild/osbuild-composer
|
||||||
|
|
||||||
go 1.19
|
go 1.20
|
||||||
|
|
||||||
exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible
|
exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module github.com/osbuild/osbuild-composer/pkg/splunk_logger
|
module github.com/osbuild/osbuild-composer/pkg/splunk_logger
|
||||||
|
|
||||||
go 1.19
|
go 1.20
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/hashicorp/go-retryablehttp v0.7.5
|
github.com/hashicorp/go-retryablehttp v0.7.5
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
GO_VERSION=1.19.11
|
GO_VERSION=1.20.12
|
||||||
GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION
|
GO_BINARY=$(go env GOPATH)/bin/go$GO_VERSION
|
||||||
|
|
||||||
# this is the official way to get a different version of golang
|
# this is the official way to get a different version of golang
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue