Skip to content

Fix type in read me README.md (#70) #198

Fix type in read me README.md (#70)

Fix type in read me README.md (#70) #198

Workflow file for this run

name: Lint
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
working-directory: ./backend
run: |
pip install -U poetry
- name: Cache Poetry virtualenv
uses: actions/cache@v3
id: cache
with:
path: ~/.virtualenvs
key: poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
poetry-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
working-directory: ./backend
run: |
poetry install --no-interaction --no-ansi
- name: Lint
working-directory: ./backend
run: poetry run pre-commit run --all-files --show-diff-on-failure