Skip to content

Bump ruff from 0.7.1 to 0.8.2 #14

Bump ruff from 0.7.1 to 0.8.2

Bump ruff from 0.7.1 to 0.8.2 #14

name: Pre-build Checks & Tests
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
branches: [main]
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.12'
allow-prereleases: true
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install --no-cache-dir "poetry==1.8.3"
poetry install --no-interaction --no-ansi
- name: Execute Tests
run: poetry run task tests
lint:
name: Code Lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.12'
allow-prereleases: true
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install --no-cache-dir "poetry==1.8.3"
poetry install --no-interaction --no-ansi
- name: Run ruff
run: poetry run task ruff-lint
- name: Run mypy
run: poetry run task mypy-lint
- name: Run poetry check
run: poetry run task poetry-check
- name: Run pip check
run: poetry run task pip-check