Skip to content

⬆️ Bump typer-slim from 0.19.2 to 0.21.2 #2977

⬆️ Bump typer-slim from 0.19.2 to 0.21.2

⬆️ Bump typer-slim from 0.19.2 to 0.21.2 #2977

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
SAFETY_API_KEY: ${{ secrets.SAFETY_API_KEY }}
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: make poetry-download
- name: Set up cache
uses: actions/cache@v5
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install --with dev
- name: Run style checks
run: |
make check-codestyle
- name: Run safety checks
if: ${{ env.SAFETY_API_KEY != '' }}
env:
SAFETY_API_KEY: ${{ env.SAFETY_API_KEY }}
run: |
make check-safety
- name: Run tests
run: |
make test