Skip to content

fix: fix bug with empty list for validation #46

fix: fix bug with empty list for validation

fix: fix bug with empty list for validation #46

Workflow file for this run

---
name: Linting
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
Linting:
runs-on: ubuntu-latest
steps:
# check-out repo
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
# install poetry
- name: Install poetry
run: pipx install poetry==1.6.0
# set-up python with cache
- name: Setup Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'poetry'
# install requirements (including dev dependencies)
- name: Install requirements
run: poetry install --only lint
# run linters
- name: Run linters
run: |
set -o pipefail
poetry run make lint