Add an Ansible playbook for creating a droplet #56
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: Linting | |
on: [pull_request] | |
jobs: | |
flake8: | |
name: flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v3 | |
- name: Install flake8 | |
run: pip3 install flake8 | |
- name: Set up reviewdog | |
uses: reviewdog/action-setup@v1 | |
- name: Run flake8 | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
set -o pipefail | |
flake8 | \ | |
reviewdog -f=pep8 -name=flake8 \ | |
-tee -reporter=github-check -filter-mode nofilter | |
ansible: | |
name: Ansible Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v3 | |
- name: ansible-lint | |
uses: reviewdog/action-ansiblelint@v1 |