mirror of
https://github.com/helm/helm.git
synced 2026-04-22 14:47:41 -04:00
chore: check if go modules are tidy before build
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
This commit is contained in:
parent
d7df660418
commit
0dae3d6e88
2 changed files with 6 additions and 0 deletions
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
|
|
@ -28,6 +28,8 @@ jobs:
|
|||
check-latest: true
|
||||
- name: Test source headers are present
|
||||
run: make test-source-headers
|
||||
- name: Check if go mod is tidy
|
||||
run: go mod tidy -diff
|
||||
- name: Run unit tests
|
||||
run: make test-coverage
|
||||
- name: Test build
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -246,3 +246,7 @@ info:
|
|||
@echo "Git Tag: ${GIT_TAG}"
|
||||
@echo "Git Commit: ${GIT_COMMIT}"
|
||||
@echo "Git Tree State: ${GIT_DIRTY}"
|
||||
|
||||
.PHONY: tidy
|
||||
tidy:
|
||||
go mod tidy
|
||||
|
|
|
|||
Loading…
Reference in a new issue