From 2441a3b9ba25bfe7e7725e9dc08fdf1a839db195 Mon Sep 17 00:00:00 2001 From: Ben Kraft Date: Wed, 14 Feb 2024 19:22:31 -0800 Subject: [PATCH] Pin workflows to see if that fixes lint --- .github/workflows/go.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8faa3cc9..1aa23881 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.18', '1.19', '1.20' ] + go: [ '1.18', '1.19', '1.20', '1.21', '1.22' ] steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} id: go @@ -36,10 +36,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.20' + id: go + - name: Git checkout uses: actions/checkout@v2 - name: Run lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: v1.52.2 # should match internal/lint/go.mod