From f6c4140f51ddf349500e8b610ecfb63995dd2c09 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Thu, 4 Apr 2024 01:56:52 +0000 Subject: [PATCH] Update CI with Go 1.21 and 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 aca17ce..ac745d1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,17 +8,17 @@ jobs: name: Go CI strategy: matrix: - go: ["1.19", "1.20"] + go: ["1.21", "1.22"] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: # Prepare env. - name: Set up Go - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: ${{ matrix.go }} - name: Install Linters - run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.1" + run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2" shell: bash - name: Set git config to please linters run: | @@ -27,6 +27,6 @@ jobs: # Test repository. - name: Check out source - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Test run: sh ./run_tests.sh