Skip to content

build(deps): bump actions/cache from 4.0.0 to 4.2.0 #935

build(deps): bump actions/cache from 4.0.0 to 4.2.0

build(deps): bump actions/cache from 4.0.0 to 4.2.0 #935

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/[email protected]
- uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/[email protected]
- 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
...