chore(deps): update pre-commit hook biomejs/pre-commit to v2.4.12 (#739) #2422
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: Pre-commit | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| name: Pre-commit Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: biomejs/setup-biome@v2 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| cache: pip | |
| python-version: 3.x | |
| - run: pip install -r requirements.txt | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: latest | |
| install-only: true | |
| - run: go install golang.org/x/tools/cmd/goimports@latest | |
| - uses: actions/cache@v5 | |
| with: | |
| path: ~/.cache/pre-commit | |
| key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | |
| - run: pre-commit run --all-files |