Skip to content

Commit

Permalink
Refactor linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AbraXa5 committed Jun 12, 2024
1 parent b795c61 commit de870f0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,17 @@ jobs:
- name: Checkout Sources
uses: actions/checkout@v4

- name: Install Ansible
run: sudo apt install -y ansible
- name: Install ansible and ansible-lint with pip
run: |
sudo apt update
sudo apt install pip
pip install ansible ansible-lint
- name: Install Ansible Colletion requirements
run: ansible-galaxy install -r requirements.yml

- name: Debug - List installed collections
run: ansible-galaxy collection list

- name: Install ansible-lint with pip
run: |
sudo apt update
sudo apt install pip
pip install ansible ansible-lint
- name: Run ansible-lint on the code base
run: ansible-lint -v -s --project-dir .

0 comments on commit de870f0

Please sign in to comment.