Skip to content

Commit da16f97

Browse files
Tweak workflow lints
1 parent da710ff commit da16f97

File tree

6 files changed

+86
-422
lines changed

6 files changed

+86
-422
lines changed

.github/workflows/lint-ansible.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Ansible Lint
3+
4+
on:
5+
push:
6+
7+
jobs:
8+
9+
ansible-lint:
10+
name: Ansible Lint
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out the codebase
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Python.
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.x'
21+
22+
- name: Install ansible-lint
23+
run: pip3 install ansible-lint ansible
24+
25+
- name: Version check
26+
run: |
27+
ansible --version
28+
ansible-lint --version
29+
30+
- name: Run ansible-lint
31+
run: ansible-lint

.github/workflows/lint-vale.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Vale Lint
3+
4+
on:
5+
push:
6+
7+
jobs:
8+
9+
vale-lint:
10+
name: Vale Lint
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out the codebase
15+
uses: actions/checkout@v3
16+
17+
- name: Install vale
18+
run: snap install vale
19+
20+
- name: Version check
21+
run: |
22+
vale --version
23+
24+
- name: Run yamllint
25+
run: vale --glob='*.md' ./docs ./README.md

.github/workflows/lint-yaml.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: YAML Lint
3+
4+
on:
5+
push:
6+
7+
jobs:
8+
9+
yaml-lint:
10+
name: YAML Lint
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out the codebase
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Python.
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.x'
21+
22+
- name: Install yamllint
23+
run: pip3 install yamllint
24+
25+
- name: Version check
26+
run: |
27+
yamllint --version
28+
29+
- name: Run yamllint
30+
run: yamllint .

.github/workflows/lint.yml

-59
This file was deleted.

.github/workflows/rocky8.yml

-184
This file was deleted.

0 commit comments

Comments
 (0)