2020-02-10 08:48:44 +00:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Set up Python 3.7
|
|
|
|
uses: actions/setup-python@v1
|
|
|
|
with:
|
|
|
|
python-version: 3.7
|
2020-06-24 17:11:20 +01:00
|
|
|
- name: Install ansible
|
|
|
|
run: sudo apt-get update && sudo apt-get install -y ansible
|
2020-02-10 08:48:44 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: ./scripts/setup.sh
|
|
|
|
- name: Run linters
|
|
|
|
run: ./scripts/lint.sh
|