Skip to content

build(deps): bump actions/setup-python from 5.0.0 to 5.2.0 #920

build(deps): bump actions/setup-python from 5.0.0 to 5.2.0

build(deps): bump actions/setup-python from 5.0.0 to 5.2.0 #920

Workflow file for this run

---
name: Ansible Lint # feel free to pick your own name
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- uses: actions/checkout@v4.1.1
- uses: actions/cache@v4.0.0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/setup-python@v5.2.0
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
ansible-galaxy collection install -r ansible-ipi-install/requirements.yml
- name: Lint Ansible Playbook
run: |
ansible-lint -p --force-color -c .ansible-lint ansible-ipi-install/playbook.yml
...