From b9f545f5ef781a1d307430d100279e648530cbf3 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Thu, 7 Sep 2023 13:58:50 -0700 Subject: [PATCH] chore: upgrade to go 1.21 --- .github/workflows/build.yml | 4 ++-- .github/workflows/release-tests.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/test.yml | 4 ++-- go.mod | 2 +- salus-config.yaml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cebcf112..4cb5b5ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.21' check-latest: true - name: Checkout uses: actions/checkout@v1 @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.21' check-latest: true - name: Checkout uses: actions/checkout@v1 diff --git a/.github/workflows/release-tests.yaml b/.github/workflows/release-tests.yaml index 94b7974d..3189179f 100644 --- a/.github/workflows/release-tests.yaml +++ b/.github/workflows/release-tests.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.21' check-latest: true - name: Checkout uses: actions/checkout@v1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 49921629..c6243d6b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.21' check-latest: true - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bcf860f0..fc63a25d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.21' check-latest: true - name: Install dependencies run: sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends expect jq @@ -31,7 +31,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.21' check-latest: true - name: Checkout uses: actions/checkout@v1 diff --git a/go.mod b/go.mod index 03405103..eea17e17 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/DopplerHQ/cli -go 1.19 +go 1.21 require ( github.com/AlecAivazis/survey/v2 v2.3.6 diff --git a/salus-config.yaml b/salus-config.yaml index e7d6f5d7..54b20f98 100644 --- a/salus-config.yaml +++ b/salus-config.yaml @@ -25,4 +25,4 @@ enforced_scanners: "all" scanner_configs: GoVersionScanner: error: - min_version: '1.18.0' + min_version: '1.21.0'