Skip to content

Bump actions/setup-python from 4.1.0 to 5.1.1 #8

Bump actions/setup-python from 4.1.0 to 5.1.1

Bump actions/setup-python from 4.1.0 to 5.1.1 #8

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/[email protected]
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