Skip to content

Modeling Exercises: Refactor Feedback Reference (#354) #2154

Modeling Exercises: Refactor Feedback Reference (#354)

Modeling Exercises: Refactor Feedback Reference (#354) #2154

Workflow file for this run

name: Prospector Linting
on:
push:
branches:
- develop
pull_request:
jobs:
prospector:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Cache Poetry dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry install
poetry run install_all
- name: Run Prospector
run: poetry run lint_all