From 77638dc9c131433acfc01e4d32e0cc2952885488 Mon Sep 17 00:00:00 2001 From: David Hill Date: Tue, 20 Feb 2024 10:32:02 -0500 Subject: [PATCH] build: Test against Go 1.22 --- .github/workflows/go.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f86130a..b051d1e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,16 +9,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.20', '1.21'] + go: ['1.21', '1.22'] steps: - name: Set up Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: ${{ matrix.go }} - name: Check out source - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Install Linters - run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2" + run: "go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.0" - name: Build run: go build ./... - name: Lint