fix: update golangci-lint entry command and enhance current specification for Playwright MCP server initialization

This commit is contained in:
GitHub Actions
2026-01-11 06:09:21 +00:00
parent efd8a5d0f3
commit 10902e37a0
2 changed files with 299 additions and 50 deletions

View File

@@ -33,10 +33,7 @@ repos:
pass_filenames: false
- id: golangci-lint-fast
name: golangci-lint (Fast Linters - BLOCKING)
entry: >
bash -c 'command -v golangci-lint >/dev/null 2>&1 ||
{ echo "ERROR: golangci-lint not found. Install: https://golangci-lint.run/usage/install/"; exit 1; };
cd backend && golangci-lint run --config .golangci-fast.yml ./...'
entry: bash -c 'command -v golangci-lint >/dev/null 2>&1 || (echo "ERROR golangci-lint not found. Install at https://golangci-lint.run/usage/install/" && exit 1); cd backend && golangci-lint run --config .golangci-fast.yml ./...'
language: system
files: '\.go$'
exclude: '_test\.go$'