fix(deps): bump ansible-lint from 24.9.2 to 24.10.0 in /.github/workflows #248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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/dotenv-action@v1.1.4 | |
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 |