From 903fd9869216e3d4b8f6f2c5ed75678863ae9af0 Mon Sep 17 00:00:00 2001 From: Davide Guerri Date: Fri, 14 Jun 2024 22:50:37 +0200 Subject: [PATCH] update CI to use latest go versions --- .github/workflows/run-CI.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-CI.yml b/.github/workflows/run-CI.yml index 6afd9e2..e273864 100644 --- a/.github/workflows/run-CI.yml +++ b/.github/workflows/run-CI.yml @@ -24,11 +24,11 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "macos-latest"] - go: ["1.18.x", "1.19.x"] + go: ["1.19.x", "1.20.x", "1.21.x", "1.22.x"] runs-on: ${{ matrix.os }} steps: - name: Setup Go - uses: WillAbides/setup-go-faster@v1.7.0 + uses: WillAbides/setup-go-faster@v1.14.0 with: go-version: ${{ matrix.go }} - name: Checkout @@ -36,9 +36,9 @@ jobs: with: fetch-depth: 1 - name: Static code analysis - uses: dominikh/staticcheck-action@v1.2.0 + uses: dominikh/staticcheck-action@v1 with: - version: "2022.1.1" + version: "latest" install-go: false cache-key: ${{ matrix.go }} - name: Run Go vet @@ -54,7 +54,7 @@ jobs: - name: Setup Go uses: WillAbides/setup-go-faster@v1.7.0 with: - go-version: "1.19.x" + go-version: "1.22.x" - name: Checkout uses: actions/checkout@v3 with: