File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Lint workflows
2+
3+ on :
4+ workflow_call :
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ actionlint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Download actionlint
15+ id : get_actionlint
16+ run : bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
17+ shell : bash
18+ - name : Run actionlint
19+ run : ${{ steps.get_actionlint.outputs.executable }} -color
20+ shell : bash
Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ permissions:
88 pull-requests : read
99
1010jobs :
11+ workflow-lint :
12+ uses : ./.github/workflows/_workflow_lint.yml
1113 static_analysis :
1214 uses : ./.github/workflows/_static-analysis.yml
15+ needs : workflow-lint
1316 build :
1417 uses : ./.github/workflows/_build.yml
1518 needs : static_analysis
You can’t perform that action at this time.
0 commit comments