-
-
Notifications
You must be signed in to change notification settings - Fork 1
24 lines (22 loc) · 645 Bytes
/
Copy pathlint.yml
File metadata and controls
24 lines (22 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: ansible-lint
#on:
# pull_request:
# branches: ['staging']
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install ansible
run: pip install ansible
- name: Install required ansible collections
run: ansible-galaxy collection install community.general
- name: Install required ansible roles
run: ansible-galaxy role install gantsign.oh-my-zsh
- name: Run ansible-lint
uses: ansible/ansible-lint@v25