Skip to content

Commit 58fa95c

Browse files
authored
ci: use self-repository syntax for the workflow-lint step (#78)
Signed-off-by: Devin Buhl <devin@buhl.casa>
1 parent 3a079b6 commit 58fa95c

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,22 @@ jobs:
3333
with:
3434
persist-credentials: false
3535

36+
- name: Setup Mise
37+
uses: jdx/mise-action@9e7f7633ff6f6d6048a9418a68d48f288f50eb14 # v4.2.3
38+
with:
39+
install: false
40+
41+
- name: Resolve linter versions
42+
id: tools
43+
run: |
44+
echo "actionlint=$(mise config get tools.actionlint)" >> "$GITHUB_OUTPUT"
45+
echo "zizmor=$(mise config get tools.zizmor)" >> "$GITHUB_OUTPUT"
46+
3647
- name: Lint workflows
37-
uses: ./actions/workflow-lint
48+
uses: $/actions/workflow-lint
49+
with:
50+
actionlint-version: ${{ steps.tools.outputs.actionlint }}
51+
zizmor-version: ${{ steps.tools.outputs.zizmor }}
3852

3953
status:
4054
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)