From 617a0bf6617949c37fab5f2e86054eb4e41c0f97 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Tue, 22 Aug 2023 09:12:39 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20update=20to=20go=201.21.0=20(#69?= =?UTF-8?q?8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/goreleaser-edge.yml | 2 +- .github/workflows/goreleaser.yml | 2 +- .github/workflows/pr-test-lint.yml | 2 +- go.mod | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/goreleaser-edge.yml b/.github/workflows/goreleaser-edge.yml index df3a72da..248669ed 100644 --- a/.github/workflows/goreleaser-edge.yml +++ b/.github/workflows/goreleaser-edge.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: ">=1.20.4" + go-version: ">=1.21.0" cache: false - name: Log in to the Container registry uses: docker/login-action@v2 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index bb315059..71832fc4 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: ">=1.20.4" + go-version: ">=1.21.0" cache: false - name: 'Authenticate to Google Cloud' diff --git a/.github/workflows/pr-test-lint.yml b/.github/workflows/pr-test-lint.yml index 40bae2d4..53e8b9f8 100644 --- a/.github/workflows/pr-test-lint.yml +++ b/.github/workflows/pr-test-lint.yml @@ -9,7 +9,7 @@ on: - 'go.sum' env: - GO_VERSION: ">=1.20.4" + GO_VERSION: ">=1.21.0" jobs: # Check if there is any dirty change for go mod tidy diff --git a/go.mod b/go.mod index 476e9452..201e5290 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module go.mondoo.com/cnspec -go 1.20 +go 1.21 + +toolchain go1.21.0 require ( github.com/Masterminds/semver v1.5.0