summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-23 10:42:11 -0600
committermo khan <mo@mokhan.ca>2025-05-23 10:42:11 -0600
commit0ba49bfbde242920d8675a193d7af89420456fc0 (patch)
tree66bcdeb27cb744a026c245b296115e438aff40fe /Makefile
parent77afd54f19a5c7ad4417c4db687e257900b0e6c3 (diff)
parentf7335b090bc5b64d4d06014c4f7f5e34beb2c3cf (diff)
Merge branch 'go-1.24.3' into 'main'
Upgrade to Go 1.24.3 See merge request gitlab-org/software-supply-chain-security/authorization/sparkled!10
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7b19403..612148b 100644
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,10 @@ bin/sparkled:
clean:
@rm -f ./bin/sparkled
@go clean -testcache
- @docker image rm -f $(IMAGE_TAG)
setup:
@mise install
- @go install tool
+ @go mod tidy
@command -v godotenv
@command -v playwright
@command -v yamlfmt
@@ -36,7 +35,7 @@ build-builder-image:
@docker build --target build --tag $(IMAGE_TAG) .
run: clean build
- @godotenv -f .env.local,.env ./bin/entrypoint.sh
+ @go tool godotenv -f .env.local,.env ./bin/entrypoint.sh
run-image: clean build-image
@docker run --rm --network host --env-file .env.local -p 10000:10000 -p 9901:9901 -p 8080:8080 -it $(IMAGE_TAG)
@@ -45,10 +44,10 @@ sh-image: build-builder-image
@docker run --rm -it $(IMAGE_TAG) /bin/sh
lint:
- @yamlfmt --lint -exclude vendor .
+ @go tool yamlfmt --lint -exclude vendor .
tidy:
@go get -u ./...
@go mod tidy
@go mod vendor
- @yamlfmt -exclude vendor .
+ @go tool yamlfmt -exclude vendor .