chore(deps): update module github.com/golangci/golangci-lint to v2 #1941
This file contains hidden or 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: CI | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
main: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- name: "Ensure docs are up-to-date" | |
if: ${{ github.event_name == 'pull_request' }} | |
run: ./scripts/check-docs.sh | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test |