ci: improve caching (#7954)

This commit is contained in:
Ammar Bandukwala
2023-06-12 12:09:54 -05:00
committed by GitHub
parent 4bc4e63637
commit a540e629e5
5 changed files with 96 additions and 76 deletions
+12 -1
View File
@@ -402,11 +402,17 @@ else
endif
.PHONY: fmt/shfmt
lint: lint/shellcheck lint/go
lint: lint/shellcheck lint/go lint/ts lint/helm
.PHONY: lint
lint/ts:
cd site
yarn && yarn lint
.PHONY: lint/ts
lint/go:
./scripts/check_enterprise_imports.sh
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.2
golangci-lint run
.PHONY: lint/go
@@ -416,6 +422,11 @@ lint/shellcheck: $(SHELL_SRC_FILES)
shellcheck --external-sources $(SHELL_SRC_FILES)
.PHONY: lint/shellcheck
lint/helm:
cd helm
make lint
.PHONY: lint/helm
# all gen targets should be added here and to gen/mark-fresh
gen: \
coderd/database/dump.sql \