chore(deps): update golangci/golangci-lint-action action to v6 #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches-ignore: | |
- '**-wip' | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
make: | |
name: make | |
runs-on: ubuntu-latest | |
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push | |
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) | |
strategy: | |
matrix: | |
go: [ '1.20', '1.21' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Build | |
run: make | |
- name: Test | |
run: make test |