ci: use pre-commit action instead of running manually

This commit is contained in:
Tulir Asokan 2024-10-16 15:51:05 +03:00
parent ac0dd304ef
commit b5df6c2526

View file

@ -32,8 +32,5 @@ jobs:
go install honnef.co/go/tools/cmd/staticcheck@latest
export PATH="$HOME/go/bin:$PATH"
- name: Install pre-commit
run: pip install pre-commit
- name: Lint
run: pre-commit run -a
- name: Run pre-commit
uses: pre-commit/action@v3.0.1