Skip to content

Implement core tickets system #94

Implement core tickets system

Implement core tickets system #94

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [3.9, '3.10', '3.11', '3.12']
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.version }}
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
- name: Cache Poetry
id: cache-poetry
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-cache-${{ matrix.version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install Poetry Dependencies
if: steps.cache-poetry.outputs.cache-hit != 'true'
run: |
poetry install --with dev
- name: Run Pyright
run: |
poetry run pyright bot
- name: Run Ruff
run: |
poetry run ruff bot