ci: exclude node_modules from Go lint (#26961)

* ci: exclude node_modules from Go lint

* ci: move Go lint configuration into .github
This commit is contained in:
matt vallillo authored and GitHub committed 2026-10-16 17:37:59 +01:00
1 parent 9cbe1341b8
commit 69531d76cc
3 files changed
+7 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
version: "2"
linters:
exclusions:
paths:
- '(^|/)node_modules/'
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v8
with:
args: --timeout 5000s --verbose
args: --timeout 5000s --verbose --config .github/golangci.yml
skip-cache: true
test-unittest:
runs-on: ubuntu-26.04
+1 -1
View File
@@ -98,7 +98,7 @@ lint-check-types: ## Type-check the repository's Node.js scripts.
pnpm run build:types
lint: ci-lint-bandit ci-lint-mypy ci-lint-cargo-deny ci-lint-cargo-machete ## Check Python (bandit, mypy), Go (golangci) and Rust dependencies (cargo deny, machete)
golangci-lint run -v
golangci-lint run -v --config .github/golangci.yml
core-install:
ifneq ($(BREW_EXISTS),)