From 6397c8cd8ca1721052ef886cbb955d8fd6ca4a50 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Fri, 5 Jul 2024 12:29:50 +0800 Subject: [PATCH] update go --- .github/workflows/build.yml | 4 ++-- .github/workflows/codeql-cosmos.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/tests.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46d68928..f38d4b7e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - run: go build ./... tidy: @@ -26,7 +26,7 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - 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 ebfd5c08..cfdef5f0 100644 --- a/.github/workflows/codeql-cosmos.yml +++ b/.github/workflows/codeql-cosmos.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 084df5f6..b9a97912 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index a870ebfe..ad844e0b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - uses: actions/checkout@v4 - name: golangci-lint diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c7a99d0..4259889f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: Checkout code uses: actions/checkout@v4 - name: Test