From 7b85197d841e5cf34c6ecb497aa2e2b553cca33a Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Thu, 26 Jan 2023 01:22:51 +0100 Subject: [PATCH] ci: use Go 1.19 The master branch supports the latest released version of Go. We cut a new release of Staticcheck when the next version of Go releases, at which point that release will support 1.19 and 1.20. All that is to say that the master branch doesn't care about Go 1.18. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9df8aef4..1d1957888 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: os: ["windows-latest", "ubuntu-latest", "macOS-latest"] - go: ["1.18.x"] + go: ["1.19.x"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 @@ -40,7 +40,7 @@ jobs: steps: - uses: WillAbides/setup-go-faster@v1.7.0 with: - go-version: "1.18.x" + go-version: "1.19.x" # this downloads all artifacts of the current workflow into the current working directory, creating one directory per artifact - uses: actions/download-artifact@v3 - id: glob @@ -51,6 +51,6 @@ jobs: - uses: dominikh/staticcheck-action@9f77055cca7bfaafb836cbd6720865187f5fbf51 with: version: "3d6c86f0908ab82d6ff280219e2968ee65f83b2e" - min-go-version: "1.17" + min-go-version: "1.19" install-go: false merge-files: ${{ steps.glob.outputs.files }}