Skip to content

Commit

Permalink
Pin workflows to see if that fixes lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminjkraft committed Feb 15, 2024
1 parent 28aafc7 commit 2441a3b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 2441a3b

Please sign in to comment.