Skip to content

Merge pull request #3295 from chynasan/patch-1 #58

Merge pull request #3295 from chynasan/patch-1

Merge pull request #3295 from chynasan/patch-1 #58

Workflow file for this run

---
name: Lint
on:
pull_request:
branches:
- '**'
paths-ignore:
- 'docs/**'
push:
branches:
- '**'
workflow_dispatch:
jobs:
linters:
# https://github.com/actions/setup-python/issues/355#issuecomment-1335042510
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.6"
# https://stackoverflow.com/a/72611356
- name: downgrade setuptools
run: pip install setuptools~=57.5.0
- name: install requirements
run: pip install -r requirements/dev-requirements.txt
- name: python lint
run: make test/flake8
- name: yaml lint
run: make test/yamllint