Skip to content

Fix cache seconds on shields (#15) #46

Fix cache seconds on shields (#15)

Fix cache seconds on shields (#15) #46

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run pre-commit
uses: pre-commit/[email protected]
- name: Check types with MyPy
run: |
mypy src/prime_cli/
- name: Check formatting with Ruff
run: |
ruff format --check .
- name: Lint with Ruff
run: |
ruff check .