Skip to content

Update all non-major dependencies #2980

Update all non-major dependencies

Update all non-major dependencies #2980

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@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.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