From 82d25864052846d6748e5cb07b9a0f41c6e1f3be Mon Sep 17 00:00:00 2001 From: Damon Douglas Date: Wed, 10 Jan 2024 19:08:53 +0000 Subject: [PATCH] Set Go version to 1.21 --- .github/workflows/go-pr.yml | 4 ++-- cicd/go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go-pr.yml b/.github/workflows/go-pr.yml index 8a4aca93db..a7b73b1d06 100644 --- a/.github/workflows/go-pr.yml +++ b/.github/workflows/go-pr.yml @@ -39,7 +39,7 @@ jobs: - name: Setup Go uses: actions/setup-go@44e221478fc6847752e5c574fc7a7b3247b00fbf with: - go-version: '1.17' + go-version: '1.21' - name: Run Fmt run: | cd cicd @@ -57,7 +57,7 @@ jobs: - name: Setup Go uses: actions/setup-go@44e221478fc6847752e5c574fc7a7b3247b00fbf with: - go-version: '1.17' + go-version: '1.21' # By nature, this also makes sure that everything builds - name: Run Tests run: | diff --git a/cicd/go.mod b/cicd/go.mod index 6c6c8155c4..7487287764 100644 --- a/cicd/go.mod +++ b/cicd/go.mod @@ -1,3 +1,3 @@ module github.com/GoogleCloudPlatform/DataflowTemplates/cicd -go 1.17 +go 1.21