diff --git a/.github/workflows/darwin-tests.yaml b/.github/workflows/darwin-tests.yaml index 1c5f2d3f2a..c8fa1f4b01 100644 --- a/.github/workflows/darwin-tests.yaml +++ b/.github/workflows/darwin-tests.yaml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.22.11 + go-version: 1.23.7 - name: Checkout code uses: actions/checkout@v4 - name: Build utils diff --git a/.github/workflows/docs-url-alive-check.yaml b/.github/workflows/docs-url-alive-check.yaml index 4635d179be..c91308bf14 100644 --- a/.github/workflows/docs-url-alive-check.yaml +++ b/.github/workflows/docs-url-alive-check.yaml @@ -14,7 +14,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.22.11 + go-version: 1.23.7 env: GOPATH: ${{ github.workspace }}/kata-containers - name: Set env diff --git a/src/runtime/go.mod b/src/runtime/go.mod index 050adf85af..97174f4dc3 100644 --- a/src/runtime/go.mod +++ b/src/runtime/go.mod @@ -1,6 +1,7 @@ module github.com/kata-containers/kata-containers/src/runtime -go 1.21 +// Keep in sync with version in versions.yaml +go 1.23 // WARNING: Do NOT use `replace` directives as those break dependabot: // https://github.com/kata-containers/kata-containers/issues/11020 diff --git a/src/tools/csi-kata-directvolume/go.mod b/src/tools/csi-kata-directvolume/go.mod index 583b2dc7fe..3e4b81677d 100644 --- a/src/tools/csi-kata-directvolume/go.mod +++ b/src/tools/csi-kata-directvolume/go.mod @@ -1,6 +1,7 @@ module kata-containers/csi-kata-directvolume -go 1.20 +// Keep in sync with version in versions.yaml +go 1.23 // WARNING: Do NOT use `replace` directives as those break dependabot: // https://github.com/kata-containers/kata-containers/issues/11020 diff --git a/src/tools/log-parser/go.mod b/src/tools/log-parser/go.mod index 19cd113378..f804f1f921 100644 --- a/src/tools/log-parser/go.mod +++ b/src/tools/log-parser/go.mod @@ -1,6 +1,7 @@ module github.com/kata-containers/kata-containers/src/tools/log-parser -go 1.19 +// Keep in sync with version in versions.yaml +go 1.23 require ( github.com/BurntSushi/toml v1.1.0 diff --git a/tests/go.mod b/tests/go.mod index 667536138e..ec0eea2c93 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -1,6 +1,7 @@ module github.com/kata-containers/tests -go 1.19 +// Keep in sync with version in versions.yaml +go 1.23 // WARNING: Do NOT use `replace` directives as those break dependabot: // https://github.com/kata-containers/kata-containers/issues/11020 diff --git a/tests/metrics/cmd/checkmetrics/go.mod b/tests/metrics/cmd/checkmetrics/go.mod index bcf5acf6b4..f09c9a9590 100644 --- a/tests/metrics/cmd/checkmetrics/go.mod +++ b/tests/metrics/cmd/checkmetrics/go.mod @@ -1,6 +1,7 @@ module example.com/m -go 1.19 +// Keep in sync with version in versions.yaml +go 1.23 require ( github.com/BurntSushi/toml v1.3.2 diff --git a/tools/testing/kata-webhook/go.mod b/tools/testing/kata-webhook/go.mod index ed75fa9377..6b37987799 100644 --- a/tools/testing/kata-webhook/go.mod +++ b/tools/testing/kata-webhook/go.mod @@ -1,6 +1,7 @@ module module-path -go 1.21 +// Keep in sync with version in versions.yaml +go 1.23 require ( github.com/sirupsen/logrus v1.9.3 diff --git a/versions.yaml b/versions.yaml index e908644d19..f93d4c5e66 100644 --- a/versions.yaml +++ b/versions.yaml @@ -387,12 +387,12 @@ languages: golang: description: "Google's 'go' language" notes: "'version' is the default minimum version used by this project." - version: "1.22.11" + version: "1.23.7" meta: description: | 'newest-version' is the latest version known to work when building Kata - newest-version: "1.22.11" + newest-version: "1.23.7" rust: description: "Rust language"