Skip to content

fix(deps): bump ansible-lint from 24.2.2 to 24.9.0 in /.github/workflows #239

fix(deps): bump ansible-lint from 24.2.2 to 24.9.0 in /.github/workflows

fix(deps): bump ansible-lint from 24.2.2 to 24.9.0 in /.github/workflows #239

Workflow file for this run

---
name: Code Linting
"on":
pull_request:
branches:
- main
workflow_call:
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Load environment vars
id: dotenv
uses: falti/[email protected]
with:
path: .github/workflows/env_vars.txt
log-variables: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ steps.dotenv.outputs.PYTHON_SETUP_VERSION }}
- name: Upgrade pip
run: |
python3 -m pip install --constraint=.github/workflows/constraints.txt pip
python3 -m pip --version
- name: Install test dependencies
run: |
python3 -m pip install -r .github/workflows/requirements.txt -c .github/workflows/constraints.txt
- name: Run linter
run: |
yamllint --list-files .
yamllint -c=.yamllint.yml .
ansible-lint -c .ansible-lint