ModelingLLM
: Add Structured Grading Instruction Generation and Restructure Module
#1957
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |