diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 65a6765cd..ae1415ab6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/README.md b/README.md index c5a4c2a8e..eb4580047 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/go.mod b/go.mod index 345331ddc..eb440e461 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/pkg/splunk_logger/go.mod b/pkg/splunk_logger/go.mod index 6ed98ef69..027f9db98 100644 --- a/pkg/splunk_logger/go.mod +++ b/pkg/splunk_logger/go.mod @@ -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 diff --git a/tools/prepare-source.sh b/tools/prepare-source.sh index f6cf59c56..285ec07f2 100755 --- a/tools/prepare-source.sh +++ b/tools/prepare-source.sh @@ -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