Skip to content

Commit feb0c54

Browse files
committed
run yamllint target as part of lint target
Signed-off-by: Bryce Palmer <[email protected]>
1 parent 346896e commit feb0c54

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,4 @@ jobs:
4949
title: 🐛 Lint failed for ${{ github.sha }}
5050
token: ${{ secrets.GITHUB_TOKEN }}
5151
labels: kind/bug
52-
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
53-
54-
yamllint:
55-
runs-on: ubuntu-latest
56-
steps:
57-
- uses: actions/checkout@v3
58-
- name: Run yamllint make target
59-
run: make yamllint
52+
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ generate-testdata: ## Update/generate the testdata in $GOPATH/src/sigs.k8s.io/ku
7272
./test/testdata/generate.sh
7373

7474
.PHONY: lint
75-
lint: golangci-lint ## Run golangci-lint linter
75+
lint: golangci-lint yamllint ## Run golangci-lint linter & yamllint
7676
$(GOLANGCI_LINT) run
7777

7878
.PHONY: lint-fix

0 commit comments

Comments
 (0)