chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6… #255
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: check | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: | |
| - main | |
| - renovate/* | |
| pull_request: | |
| branches-ignore: | |
| - renovate/* | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| check-latest: true | |
| - name: Run linters | |
| uses: golangci/golangci-lint-action@v6 | |
| with: | |
| version: latest | |
| args: -v --timeout=5m | |
| - name: Run Test | |
| run: go test --race ./... |