From 15a8fe7925238d886f544b244f317010a46ec4f7 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Wed, 6 Sep 2023 11:17:57 +0800 Subject: [PATCH] move ci to go 1.21 --- .github/workflows/build.yml | 4 ++-- .github/workflows/codeql-cosmos.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/tests.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f88ca532..5a08fa1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Setup go uses: actions/setup-go@v4 with: - go-version: 1.20.0 + go-version: '1.21' - run: go build ./... tidy: @@ -26,7 +26,7 @@ jobs: - name: Setup go uses: actions/setup-go@v4 with: - go-version: 1.20.0 + go-version: '1.21' - run: | go mod tidy CHANGES_IN_REPO=$(git status --porcelain) diff --git a/.github/workflows/codeql-cosmos.yml b/.github/workflows/codeql-cosmos.yml index 3d2ee166..2fb9f5a1 100644 --- a/.github/workflows/codeql-cosmos.yml +++ b/.github/workflows/codeql-cosmos.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.0 + go-version: '1.21' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 38bf07c1..9498fca6 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.20.0 + go-version: '1.21' - uses: actions/checkout@v3 - name: golangci-lint diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 05837b98..5b81eae2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.20.0 + go-version: '1.21' - name: Checkout code uses: actions/checkout@v3 - name: Test