30 lines
615 B
YAML
30 lines
615 B
YAML
name: linters
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- Development
|
|
jobs:
|
|
Linters:
|
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python 3.9
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.9'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install flake8 pylint
|
|
|
|
- name: Run flake8
|
|
run: flake8
|
|
|
|
- name: Run pylint
|
|
run: pylint frontend services utils
|