Skip to content

Commit 992714a

Browse files
committed
CI: Don't use the yamllint action because it's not approved for the NVIDIA GitHub org.
1 parent 51f4de8 commit 992714a

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/test-yaml.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,21 @@ jobs:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
1717

18-
- name: Lint YAML files
19-
id: yaml-lint
20-
uses: ibiqlik/action-yamllint@v3
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
2120
with:
22-
config_data: |
23-
rules:
24-
line-length: disable
21+
python-version: '3.13'
22+
23+
- name: Install yamllint
24+
run: pip install yamllint
25+
26+
- name: Lint YAML files
27+
id: yamllint-check
28+
run: |
29+
yamllint -f github -d '{rules: {line-length: disable}}' .
2530
2631
- name: Comment on PR if check failed
27-
if: failure() && steps.yaml-lint.outcome == 'failure'
32+
if: failure() && steps.yamllint-check.outcome == 'failure'
2833
uses: actions/github-script@v7
2934
with:
3035
script: |

0 commit comments

Comments
 (0)