Bump ansible and ansible-lint versions in CI
Check / Lint Ansible Files (push) Successful in 1m4s

This commit is contained in:
2024-07-02 20:45:39 +02:00
parent 681fc0f781
commit f6257fdcd2
7 changed files with 24 additions and 21 deletions
+3 -2
View File
@@ -2,14 +2,15 @@ name: Check
on: [push]
jobs:
"Lint Ansible Files":
runs-on: ubuntu-22.04
runs-on: node-22-bookworm
steps:
- run: apt-get update
- run: apt-get upgrade -y
- run: apt-get install -y python3 python3-pip python3-venv
- run: python3 --version
- name: Check out repo
uses: actions/checkout@v3
- run: python3 -m venv venv
- run: venv/bin/pip --disable-pip-version-check install ansible==7.2.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null
- run: venv/bin/pip --disable-pip-version-check install ansible==9.6.0 ansible-lint==24.2.2
- run: venv/bin/ansible-lint -c .ansible-lint ansible
# TODO: Reimplement ansible-play --check step from old drone config