fix: Add go mod tidy before vet to ensure module is properly initialized
Some checks failed
CI/CD Pipeline / frontend-lint (push) Failing after 27s
CI/CD Pipeline / frontend-build (push) Has been skipped
CI/CD Pipeline / backend-lint (push) Failing after 1m13s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped

- Run go mod tidy before go vet to ensure module dependencies are resolved
- This fixes the 'package not in std' error when Go can't find the module
This commit is contained in:
Damir Mukimov 2025-12-24 23:06:54 +01:00
parent d041d0ae94
commit 9803386384
No known key found for this signature in database
GPG Key ID: 42996CC7C73BC750

View File

@ -75,7 +75,9 @@ jobs:
run: go mod download
- name: Vet
working-directory: bugulma/backend
run: go vet ./...
run: |
go mod tidy
go vet ./...
- name: Test
working-directory: bugulma/backend
run: go test -v -race -coverprofile=coverage.out ./...