From 1ce03d02e9b7ee6258376f9ef85f488aaa745b5f Mon Sep 17 00:00:00 2001 From: LordNoteworthy Date: Wed, 30 Oct 2024 21:39:57 +1100 Subject: [PATCH] update workflow to test more go versions --- .github/workflows/ci.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 845b9be..ca41c3f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,15 +8,15 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x] + go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} @@ -45,9 +45,9 @@ jobs: if: matrix.os == 'windows-latest' && matrix.go-version == '1.19.x' - name: Staticcheck - uses: dominikh/staticcheck-action@v1.3.0 + uses: dominikh/staticcheck-action@v1.3.1 with: - version: "2022.1" + version: "2024.1" install-go: false cache-key: ${{ matrix.go }} if: matrix.os == 'windows-latest' && matrix.go-version == '1.19.x'