Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Makefile #250

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
go-version-file: "go.mod"

- name: Set up Tools
run: make semver helm-docs
run: make tb.semver tb.helm-docs

- name: Lint
run: |
Expand Down
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
include ./.toolbox.mk

# Run go golanci-lint
lint: golangci-lint
$(GOLANGCI_LINT) run --fix
lint: tb.golangci-lint
$(TB_GOLANGCI_LINT) run --fix

# Run go mod tidy
tidy:
Expand All @@ -15,16 +15,16 @@ test: tidy lint
go tool cover -func=coverage.out

# Run tests
release: goreleaser semver
@version=$$($(LOCALBIN)/semver); \
release: tb.goreleaser tb.semver
@version=$$($(TB_SEMVER)); \
git tag -s $$version -m"Release $$version"
$(GORELEASER) --clean
$(TB_GORELEASER) --clean

test-release: goreleaser
$(GORELEASER) --skip=publish --snapshot --clean
test-release: tb.goreleaser
$(TB_GORELEASER) --skip=publish --snapshot --clean

docs: helm-docs
$(HELM_DOCS)
docs: tb.helm-docs
$(TB_HELM_DOCS)

helm-lint: docs
helm lint ./chart
Expand Down