Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit ffb751b

Browse files
authored
Merge pull request #19 from chris-crone/speedup-linting
Speed up linting using volume
2 parents 9ec7137 + 1d60519 commit ffb751b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test check: lint unit-test e2e-test
5252
lint:
5353
@echo "Linting..."
5454
@tar -c Dockerfile.lint gometalinter.json | docker build -t $(IMAGE_NAME)-lint $(IMAGE_BUILD_ARGS) -f Dockerfile.lint - --target=lint-volume > /dev/null
55-
@docker run --rm -v $(dir $(realpath $(lastword $(MAKEFILE_LIST)))):/go/src/$(PKG_NAME):ro $(IMAGE_NAME)-lint
55+
@docker run --rm -v $(dir $(realpath $(lastword $(MAKEFILE_LIST)))):/go/src/$(PKG_NAME):ro,cached $(IMAGE_NAME)-lint
5656

5757
e2e-test:
5858
@echo "Running e2e tests..."

0 commit comments

Comments
 (0)