mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
fix(ci): Exclude ansible-compat's new cache location
ansible-compat 25.0.0 now stores its cache in .ansible. Ignore this location when running ansible-lint and in .gitignore. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -79,7 +79,9 @@ jobs:
|
|||||||
- name: Run ansible-lint
|
- name: Run ansible-lint
|
||||||
run: |
|
run: |
|
||||||
ansible-lint --version
|
ansible-lint --version
|
||||||
ansible-lint -v
|
# Remove --exclude flag once ansible-lint was updated to ignore ansible-compat's new cache location
|
||||||
|
# See https://github.com/ansible/ansible-lint/issues/4477
|
||||||
|
ansible-lint -v --exclude .cache .ansible
|
||||||
working-directory: ${{ env.collection_dir }}
|
working-directory: ${{ env.collection_dir }}
|
||||||
|
|
||||||
- name: Run shellcheck
|
- name: Run shellcheck
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -43,6 +43,7 @@ htmlcov/
|
|||||||
.nox/
|
.nox/
|
||||||
.coverage
|
.coverage
|
||||||
.coverage.*
|
.coverage.*
|
||||||
|
.ansible
|
||||||
.cache
|
.cache
|
||||||
nosetests.xml
|
nosetests.xml
|
||||||
coverage.xml
|
coverage.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user