fix(deps): bump crazy-max/ghaction-github-labeler from 5.1.0 to 5.2.0 #265
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/[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 |