Skip to content

fix: add missing slash in the path of the makefile #45

fix: add missing slash in the path of the makefile

fix: add missing slash in the path of the makefile #45

name: Code quality check
on: push
jobs:
lint:
name: Code quality check
runs-on: ubuntu-24.04
container: python:3.10.12
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Cache nox environment
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: |
.cache/pip
.nox/hooks
key: nox-hooks-${{ hashFiles('**/poetry.lock') }}
restore-keys: nox-hooks-
- name: Code quality check
run: |
apt-get update && apt-get install --no-install-recommends --no-install-suggests -y git
git init
git config --global --add safe.directory '*'
git add .
pip install -U pip
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.6.1 python3 -
export PATH="/github/home/.local/bin:$PATH"
echo "/github/home/.local/bin" >> ${GITHUB_PATH}
poetry config virtualenvs.in-project true
poetry install --no-interaction --only dev
poetry run nox --session hooks