Skip to content

Commit 2123d76

Browse files
committed
switch hto gh action for ansible linting
1 parent 14ced94 commit 2123d76

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

‎.github/workflows/main.yml‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ name: Lint Yaml
44
on: [pull_request, workflow_dispatch]
55

66
jobs:
7+
ansible-lint:
8+
name: Ansible Lint # Naming the build is important to use it as a status check
9+
runs-on: ubuntu-24.04
10+
steps:
11+
- uses: actions/checkout@v6
12+
- name: Run ansible-lint
13+
uses: ansible/ansible-lint@main # or vX.X.X version
14+
# optional (see below):
15+
with:
16+
args: ""
17+
setup_python: "true"
18+
python_version: "3.14"
19+
working_directory: ""
20+
requirements_file: ""
721
lint:
822
name: lint
923
runs-on: ubuntu-26.04
@@ -14,7 +28,7 @@ jobs:
1428

1529
steps:
1630
- name: Checkout
17-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
1832

1933
- name: debug
2034
run: |

0 commit comments

Comments
 (0)