From 7328ad2cd5d09f5d6543d3eea2d46d59317f14ec Mon Sep 17 00:00:00 2001 From: Itxaka Date: Tue, 10 Sep 2024 15:29:49 +0200 Subject: [PATCH] Bump go to 1.23.1 (#526) --- .github/workflows/secscan.yaml | 2 +- .github/workflows/unit-tests.yml | 2 +- .github/workflows/webui.yaml | 2 +- Earthfile | 2 +- go.mod | 6 +----- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/secscan.yaml b/.github/workflows/secscan.yaml index 8ee50da..61b0778 100644 --- a/.github/workflows/secscan.yaml +++ b/.github/workflows/secscan.yaml @@ -19,7 +19,7 @@ jobs: - name: Checkout Source uses: actions/checkout@v4 - name: Run Gosec Security Scanner - uses: securego/gosec@master + uses: securego/gosec@v2.21.0 with: # we let the report trigger content trigger a failure using the GitHub Security features. args: '-no-fail -fmt sarif -out results.sarif ./...' diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 0139845..9d35217 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -13,7 +13,7 @@ jobs: unit-tests: strategy: matrix: - go-version: [ "1.22-bookworm" ] + go-version: [ "1.23-bookworm" ] runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/webui.yaml b/.github/workflows/webui.yaml index 81a045a..df1c78b 100644 --- a/.github/workflows/webui.yaml +++ b/.github/workflows/webui.yaml @@ -12,7 +12,7 @@ jobs: webui: strategy: matrix: - go-version: [ "1.22-bookworm" ] + go-version: [ "1.23-bookworm" ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/Earthfile b/Earthfile index 78d6420..3a5c290 100644 --- a/Earthfile +++ b/Earthfile @@ -3,7 +3,7 @@ FROM alpine # renovate: datasource=docker depName=golang ARG --global GOLINT_VERSION=1.52.2 # renovate: datasource=docker depName=golang -ARG --global GO_VERSION=1.22-bookworm +ARG --global GO_VERSION=1.23-bookworm # renovate: datasource=docker depName=cypress/base ARG --global CYPRESS_VERSION=18.16.0 diff --git a/go.mod b/go.mod index 22676e7..d42efb3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kairos-io/kairos-agent/v2 -go 1.22.5 +go 1.23.1 require ( github.com/Masterminds/semver/v3 v3.3.0 @@ -40,8 +40,6 @@ require ( github.com/distribution/reference v0.6.0 github.com/gofrs/uuid v4.4.0+incompatible github.com/google/go-github/v64 v64.0.0 - github.com/google/go-github/v64 v64.0.0 - github.com/twpayne/go-vfs/v5 v5.0.4 github.com/twpayne/go-vfs/v5 v5.0.4 ) @@ -70,8 +68,6 @@ require ( github.com/cloudflare/circl v1.3.7 // indirect github.com/containerd/cgroups v1.1.0 // indirect github.com/containerd/console v1.0.4-0.20230706203907-8f6c4e4faef5 // indirect - github.com/containerd/containerd v1.7.20 // indirect - github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/containerd/containerd v1.7.21 // indirect github.com/containerd/continuity v0.4.2 // indirect github.com/containerd/errdefs v0.1.0 // indirect