go.mod: upgrade to 1.23.9

This commit is contained in:
Sanne Raymaekers 2025-06-25 14:44:48 +02:00 committed by Achilleas Koutsou
parent 97c3460a94
commit d62827e97c
4 changed files with 9 additions and 9 deletions

View file

@ -17,6 +17,6 @@ jobs:
- name: Run gobump-deps action - name: Run gobump-deps action
uses: lzap/gobump@main uses: lzap/gobump@main
with: with:
go_version: "1.22.8" go_version: "1.23.9"
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
exec_pr: ./tools/prepare-source.sh exec_pr: ./tools/prepare-source.sh

View file

@ -71,7 +71,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.22" go-version: "1.23"
- env: - env:
PGUSER: postgres PGUSER: postgres
PGPASSWORD: foobar PGPASSWORD: foobar
@ -106,10 +106,10 @@ jobs:
name: "⌨ Golang Lint" name: "⌨ Golang Lint"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Set up Go 1.22 - name: Set up Go 1.23
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.22" go-version: "1.23"
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
@ -154,10 +154,10 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Set up Go 1.22 - name: Set up Go 1.23
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.22" go-version: "1.23"
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory

2
go.mod
View file

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

View file

@ -2,8 +2,8 @@
set -eu set -eu
GO_MINOR_VERSION="1.22" GO_MINOR_VERSION="1.23"
GO_VERSION="${GO_MINOR_VERSION}.8" GO_VERSION="${GO_MINOR_VERSION}.9"
# Check latest Go version for the minor we're using # Check latest Go version for the minor we're using
LATEST=$(curl -s https://endoflife.date/api/go/"${GO_MINOR_VERSION}".json | jq -r .latest) LATEST=$(curl -s https://endoflife.date/api/go/"${GO_MINOR_VERSION}".json | jq -r .latest)