Skip to content

Commit

Permalink
golangci: lint with Go 1.21, 1.22, 1.23 and macOS, Linux, Windows (#429)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Maslowski <[email protected]>
  • Loading branch information
orangecms authored Sep 17, 2024
1 parent 98cc60b commit 58d8581
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@ on:
- master
- main
pull_request:

jobs:
golangci:
strategy:
matrix:
go: ['1.21', '1.22', '1.23']
os: [ubuntu-latest, macos-latest, windows-latest]
name: lint
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
working-directory: pkg
version: v1.60

0 comments on commit 58d8581

Please sign in to comment.