WIP: depolyment roles: Allow deployment without gather_facts #2474
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
--- | |
name: Run Linters | |
on: | |
- push | |
- pull_request | |
jobs: | |
ansible_lint: | |
name: Verify ansible-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.x" | |
- name: Run ansible-lint | |
run: | | |
pip install "ansible-core>=2.16,<2.17" 'ansible-lint>=6.22' | |
utils/build-galaxy-release.sh -ki | |
cd .galaxy-build | |
ansible-lint --profile production --exclude tests/integration/ --exclude tests/unit/ --parseable --nocolor | |
yamllint: | |
name: Verify yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.x" | |
- name: Run yaml-lint | |
uses: ibiqlik/[email protected] | |
pydocstyle: | |
name: Verify pydocstyle | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.x" | |
- name: Run pydocstyle | |
run: | | |
pip install pydocstyle | |
pydocstyle | |
flake8: | |
name: Verify flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.x" | |
- name: Run flake8 | |
run: | | |
pip install flake8 flake8-bugbear | |
flake8 | |
pylint: | |
name: Verify pylint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.x" | |
- name: Run pylint | |
run: | | |
pip install 'pylint>=3.0' | |
pylint plugins roles --disable=import-error | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master |