Added pre_task to verify minimum Ansible version #584
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: "CI" | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
paths-ignore: | |
- '**/.gitignore' | |
- '**/FUNDING.yml' | |
- '**/host.ini' | |
- '**/*.md' | |
- '**/.editorconfig' | |
- '**/ansible.example.cfg' | |
- '**/deploy.sh' | |
- '**/LICENSE' | |
- '**/reboot.sh' | |
- '**/reset.sh' | |
jobs: | |
pre: | |
uses: ./.github/workflows/cache.yml | |
lint: | |
uses: ./.github/workflows/lint.yml | |
needs: [pre] | |
test: | |
uses: ./.github/workflows/test.yml | |
needs: [pre, lint] |