chore: pin ansible-lint to 6.13.1

ansible-lint was updated and the GitHub
action did not pin the dependency, resulting
in the repository to fail sanity tests.

Updating the repository to adhere to new fatal
linter rules, but also pinning the linter to
prevent failures that may be unrelated to the
particular commit.

Updating usages for python3.8 to 3.9 as ansible-lint
is dropping support for 3.8.
This commit is contained in:
Yusuke Tsutsumi 2023-02-18 19:23:35 +00:00 committed by Yusuke Tsutsumi
commit 791e11d45d
11 changed files with 38 additions and 38 deletions

View file

@ -36,7 +36,7 @@ jobs:
# validate-modules cannot be turned on until #498 is resolved.
run: ansible-test sanity -v --color --skip validate-modules
- name: Install ansible-lint
run: pip install ansible-lint
run: pip install ansible-lint==6.13.1
- name: Run ansible-lint
run: ansible-lint
unit:

View file

@ -30,10 +30,10 @@ jobs:
with:
path: ansible_collections/google/cloud
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |

View file

@ -25,10 +25,10 @@ jobs:
with:
path: ansible_collections/google/cloud
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |