ci: run go checks in pre-commit.ci

This commit is contained in:
Gabriel Augendre 2024-03-27 23:06:08 +01:00
parent 384f8008b9
commit 0ce2055c51
2 changed files with 1 additions and 3 deletions

View file

@ -1,6 +1,3 @@
ci:
skip: [golangci-lint-full]
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0 rev: v2.3.0

View file

@ -4,4 +4,5 @@ lint:
.PHONY: test .PHONY: test
test: test:
go mod download
go test -race -v ./... go test -race -v ./...