From 70ca182c23e0a3c52ac2d747c004c122fdb03bd9 Mon Sep 17 00:00:00 2001 From: jeronimoalbi Date: Mon, 9 Oct 2023 18:50:23 +0200 Subject: [PATCH] ci: update Go version to `1.21` in GitHub workflows --- .github/workflows/gen-docs-cli.yml | 2 +- .github/workflows/go-formatting.yml | 2 +- .github/workflows/release-binary.yml | 2 +- .github/workflows/test-integration.yml | 2 +- .github/workflows/test.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gen-docs-cli.yml b/.github/workflows/gen-docs-cli.yml index 91ae5b232f..2c53a5c34a 100644 --- a/.github/workflows/gen-docs-cli.yml +++ b/.github/workflows/gen-docs-cli.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' - name: Generate CLI Docs run: ./scripts/gen-cli-docs diff --git a/.github/workflows/go-formatting.yml b/.github/workflows/go-formatting.yml index d6cf0ff593..340ebf5d9d 100644 --- a/.github/workflows/go-formatting.yml +++ b/.github/workflows/go-formatting.yml @@ -15,7 +15,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' - name: Run make format run: make format diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index c70e97f2e4..dd1f4a185c 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 0d6cf37635..c67925cc50 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -54,7 +54,7 @@ jobs: - uses: actions/setup-go@v4 if: env.GIT_DIFF with: - go-version: '1.20' + go-version: '1.21' - name: Run Integration Tests if: env.GIT_DIFF run: GOSUMDB=off go test -v -timeout 120m ./integration/${{ matrix.test-path }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4faf379c64..3899d43f7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-go@v4 if: env.GIT_DIFF with: - go-version: '1.20' + go-version: '1.21' cache: true cache-dependency-path: go.sum