diff --git a/.github/workflows/gobump.yml b/.github/workflows/gobump.yml index bbf3c5b58..ce61e43e5 100644 --- a/.github/workflows/gobump.yml +++ b/.github/workflows/gobump.yml @@ -17,6 +17,6 @@ jobs: - name: Run gobump-deps action uses: lzap/gobump@main with: - go_version: "1.22.8" + go_version: "1.23.9" token: ${{ secrets.GITHUB_TOKEN }} exec_pr: ./tools/prepare-source.sh diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6e079d9e2..f2af6fa74 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -71,7 +71,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23" - env: PGUSER: postgres PGPASSWORD: foobar @@ -106,10 +106,10 @@ jobs: name: "⌨ Golang Lint" runs-on: ubuntu-22.04 steps: - - name: Set up Go 1.22 + - name: Set up Go 1.23 uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23" id: go - name: Check out code into the Go module directory @@ -154,10 +154,10 @@ jobs: runs-on: ubuntu-22.04 steps: - - name: Set up Go 1.22 + - name: Set up Go 1.23 uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23" id: go - name: Check out code into the Go module directory diff --git a/go.mod b/go.mod index 731af51a3..5240668a8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/osbuild/osbuild-composer -go 1.22.8 +go 1.23.9 exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible diff --git a/tools/prepare-source.sh b/tools/prepare-source.sh index 628a7a8c6..d1e8b6c79 100755 --- a/tools/prepare-source.sh +++ b/tools/prepare-source.sh @@ -2,8 +2,8 @@ set -eu -GO_MINOR_VERSION="1.22" -GO_VERSION="${GO_MINOR_VERSION}.8" +GO_MINOR_VERSION="1.23" +GO_VERSION="${GO_MINOR_VERSION}.9" # 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)