Skip to content
Snippets Groups Projects
Commit 5731a153 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

upstream CI: Pin ansible-lint version to 6.20 series

The release version 6.21.0 of ansible-lint introduced a bug that breaks
the reporting of 'warning' messages. [1]

This patch pins ansible-lint version to the latest one in the 6.20
series, so that it can still be used to check pull requests.

[1]: https://github.com/ansible/ansible-lint/issues/3853
parent ee735423
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ jobs: ...@@ -16,7 +16,7 @@ jobs:
python-version: "3.x" python-version: "3.x"
- name: Run ansible-lint - name: Run ansible-lint
run: | run: |
pip install "ansible-core >=2.15,<2.16" ansible-lint pip install "ansible-core >=2.15,<2.16" 'ansible-lint<6.21'
utils/build-galaxy-release.sh -ki utils/build-galaxy-release.sh -ki
cd .galaxy-build cd .galaxy-build
ansible-lint --profile production --exclude tests/integration/ --exclude tests/unit/ --parseable --nocolor ansible-lint --profile production --exclude tests/integration/ --exclude tests/unit/ --parseable --nocolor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment