Documentation and GitHub Actions Cleanup #6
Workflow file for this run
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
--- | |
# This workflow action runs pre-commit, which executes Ansible and yaml linting | |
# See .pre-commit-config.yaml for more details | |
name: Code Linting | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install required packages | |
run: pip install -Iv ansible-core ansible-lint flake8 yamllint black | |
- uses: pre-commit/[email protected] | |
... |