Skip to content

Commit e09a471

Browse files
committed
Changing back to the first configuration
1 parent 243fbca commit e09a471

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v3
25+
- uses: actions/setup-python@03bb6152f4f691b9d64579a1bd791904a083c452
26+
- name: Install ansible-lint
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get purge ansible
30+
sudo apt-get install python3-setuptools
31+
# This pinned ansible version should match teuthology's
32+
# requirements.txt.
33+
# And we choose an ansible-lint version to be compatible with this
34+
# Ansible version.
35+
pip3 install ansible-core==2.17.7 ansible-lint --user
2536
- name: Run ansible-lint
26-
uses: ansible/ansible-lint@v25.7.0
27-
# with:
28-
# args: ""
29-
# setup_python: "true"
30-
# working_directory: ""
31-
# requirements_file: ""
37+
run: |
38+
export PATH=$PATH:$HOME/.local/bin
39+
ansible-lint -v roles/*

0 commit comments

Comments
 (0)