Skip to content

Commit

Permalink
ci: run linter on all supported Go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Oct 24, 2023
1 parent 7884f87 commit 3ea9ff9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/setup-go@v4
with:
skip-pkg-cache: true
go-version: "1.20.x"
go-version: "1.21.x"
- name: Check that no non-test files import Ginkgo or Gomega
run: .github/workflows/no_ginkgo.sh
- name: Check for //go:build ignore in .go files
Expand Down Expand Up @@ -36,11 +36,15 @@ jobs:
go mod vendor
golangci-lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: [ "1.20.x", "1.21.x" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: ${{ matrix.go }}
- name: golangci-lint (Linux)
uses: golangci/golangci-lint-action@v3
with:
Expand Down

0 comments on commit 3ea9ff9

Please sign in to comment.