Skip to content

Update all non-major dependencies #3548

Update all non-major dependencies

Update all non-major dependencies #3548

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
env:
SAFETY_API_KEY: ${{ secrets.SAFETY_API_KEY }} # zizmor: ignore[secrets-outside-env]
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: make poetry-download
- name: Set up cache
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
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