FIX (pre-commit): Add running go mod tidy in pre-commit

This commit is contained in:
Rostislav Dugin
2026-01-14 15:18:06 +03:00
parent 6973241e25
commit a495e5317a
2 changed files with 8 additions and 1 deletions

View File

@@ -27,3 +27,10 @@ repos:
language: system
files: ^backend/.*\.go$
pass_filenames: false
- id: backend-go-mod-tidy
name: Backend Go Mod Tidy
entry: bash -c "cd backend && go mod tidy"
language: system
files: ^backend/.*\.go$
pass_filenames: false