Bug fixes to pool table #818
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: Lint | |
on: | |
push: | |
branches: [master, devel] | |
pull_request: | |
branches: [master, devel] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: | | |
pipx install poetry | |
- uses: actions/setup-python@v5 | |
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@v4 | |
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 |