fix: remove heavy linters from pre-commit (golangci-lint, staticcheck, gosec) — CI-only
CI / Env docs check (push) Successful in 39s
CI / Go build (push) Has been cancelled
CI / Go vet (dev) (push) Has been cancelled
CI / Go vet (prod) (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / Staticcheck (dev) (push) Has been cancelled
CI / Secrets scan (push) Has been cancelled
CI / Staticcheck (prod) (push) Has been cancelled
CI / Security scan (dev) (push) Has been cancelled
CI / Security scan (prod) (push) Has been cancelled
CI / go mod tidy (push) Has been cancelled
CI / Tests (prod) (push) Has been cancelled
CI / Tests (dev) (push) Has been cancelled
CI / Race (prod) (push) Has been cancelled
CI / Race (dev) (push) Has been cancelled
CI / Go vulnerabilities (push) Has been cancelled
CI / Frontend deps check (push) Has been cancelled
CI / Knip (push) Has been cancelled
CI / Frontend major deps (push) Has been cancelled
CI / Frontend a11y check (push) Has been cancelled
CI / Svelte strict check (push) Has been cancelled
CI / Frontend build (push) Has been cancelled
CI / Frontend QC (audit) (push) Has been cancelled
CI / Frontend QC (typecheck) (push) Has been cancelled
CI / Frontend QC (lint) (push) Has been cancelled
CI / Docker compose check (push) Has been cancelled
CI / Nginx config check (push) Has been cancelled
CI / Env docs check (push) Successful in 39s
CI / Go build (push) Has been cancelled
CI / Go vet (dev) (push) Has been cancelled
CI / Go vet (prod) (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / Staticcheck (dev) (push) Has been cancelled
CI / Secrets scan (push) Has been cancelled
CI / Staticcheck (prod) (push) Has been cancelled
CI / Security scan (dev) (push) Has been cancelled
CI / Security scan (prod) (push) Has been cancelled
CI / go mod tidy (push) Has been cancelled
CI / Tests (prod) (push) Has been cancelled
CI / Tests (dev) (push) Has been cancelled
CI / Race (prod) (push) Has been cancelled
CI / Race (dev) (push) Has been cancelled
CI / Go vulnerabilities (push) Has been cancelled
CI / Frontend deps check (push) Has been cancelled
CI / Knip (push) Has been cancelled
CI / Frontend major deps (push) Has been cancelled
CI / Frontend a11y check (push) Has been cancelled
CI / Svelte strict check (push) Has been cancelled
CI / Frontend build (push) Has been cancelled
CI / Frontend QC (audit) (push) Has been cancelled
CI / Frontend QC (typecheck) (push) Has been cancelled
CI / Frontend QC (lint) (push) Has been cancelled
CI / Docker compose check (push) Has been cancelled
CI / Nginx config check (push) Has been cancelled
This commit is contained in:
@@ -40,27 +40,6 @@ if [ -n "$BACKEND_FILES" ]; then
|
||||
fi
|
||||
cd ..
|
||||
|
||||
printf "${YELLOW}Checking golangci-lint...${NC}\n"
|
||||
if ! cd backend && golangci-lint run ./... --timeout 3m 2>&1; then
|
||||
printf "${RED}✖ golangci-lint failed${NC}\n"
|
||||
FAILED=1
|
||||
fi
|
||||
cd ..
|
||||
|
||||
printf "${YELLOW}Checking staticcheck...${NC}\n"
|
||||
if ! cd backend && staticcheck -tags "test,dev" ./... 2>&1; then
|
||||
printf "${RED}✖ staticcheck failed${NC}\n"
|
||||
FAILED=1
|
||||
fi
|
||||
cd ..
|
||||
|
||||
printf "${YELLOW}Checking gosec...${NC}\n"
|
||||
if ! cd backend && gosec -severity medium -tags "test,dev" ./... 2>&1; then
|
||||
printf "${RED}✖ gosec failed${NC}\n"
|
||||
FAILED=1
|
||||
fi
|
||||
cd ..
|
||||
|
||||
printf "${YELLOW}Checking go mod tidy...${NC}\n"
|
||||
cp backend/go.sum backend/go.sum.bak
|
||||
cp backend/go.mod backend/go.mod.bak
|
||||
|
||||
Reference in New Issue
Block a user