Skip to content

Merge pull request #195 from mgcam/id_generator_version_upgrade #704

Merge pull request #195 from mgcam/id_generator_version_upgrade

Merge pull request #195 from mgcam/id_generator_version_upgrade #704

Workflow file for this run

name: Lint
on:
push:
branches: [master, devel]
pull_request:
branches: [master, devel]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Poetry
run: |
pipx install poetry
- uses: actions/setup-python@v3
with:
python-version: '3.10'
architecture: 'x64'
# cache: 'poetry'
- name: Run poetry install
run: |
poetry env use '3.10'
poetry install
- name: Check formatting with Black
run: |
poetry run black --check --diff --color .
- name: Run flake8
run: |
poetry run flake8
- name: Run isort
run: |
poetry run isort --check --diff --color .
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Set up JS requirements
run: npm install
working-directory: ./frontend
- name: Run ESLint
run: npm run lint
working-directory: ./frontend