Skip to content

Commit d300914

Browse files
committed
makefile changes
1 parent 41b81ac commit d300914

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,12 @@ jobs:
209209

210210
- name: make lint
211211
run: |
212-
make --output-sync=line -j lint
212+
# zizmor isn't included in the lint target because it takes a while,
213+
# but we explicitly want to run it in CI.
214+
make --output-sync=line -j lint lint/actions/zizmor
215+
env:
216+
# Used by zizmor to lint third-party GitHub actions.
217+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
213218

214219
- name: Check workflow files
215220
run: |

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -559,13 +559,9 @@ else
559559
endif
560560
.PHONY: fmt/markdown
561561

562-
# Note: we don't run zizmor in the lint target except in CI because it takes a
563-
# while.
564-
ifdef CI
565-
lint: lint/shellcheck lint/go lint/ts lint/examples lint/helm lint/site-icons lint/markdown lint/actions
566-
else
562+
# Note: we don't run zizmor in the lint target because it takes a while. CI
563+
# runs it explicitly.
567564
lint: lint/shellcheck lint/go lint/ts lint/examples lint/helm lint/site-icons lint/markdown lint/actions/actionlint
568-
endif
569565
.PHONY: lint
570566

571567
lint/site-icons:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy