Skip to content

chore(deps-dev): bump tox from 4.21.2 to 4.22.0 #1136

chore(deps-dev): bump tox from 4.21.2 to 4.22.0

chore(deps-dev): bump tox from 4.21.2 to 4.22.0 #1136

Workflow file for this run

name: "Validations"
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
env:
PYTHON_VERSION: "3.11"
POETRY_VERSION: "1.8.3"
jobs:
# note: changing the job name requires a quality gate reference change in .github/workflows/release.yaml
validations:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install poetry
uses: abatilo/actions-poetry@3fde3e551d2d25a89ce76c446351502ad70ae316 # v2.3.0
with:
poetry-version: ${{ env.POETRY_VERSION }}
- name: Cache Poetry virtualenv
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
id: cache
with:
path: ~/.virtualenvs
key: python-${{ env.PYTHON_VERSION }}-poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
python-${{ env.PYTHON_VERSION }}-poetry-${{ env.POETRY_VERSION }}
- name: Setup Poetry config
run: |
poetry config virtualenvs.in-project false
poetry config virtualenvs.path ~/.virtualenvs
- name: Install dependencies and package
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'
- name: Run static analysis
run: poetry run make static-analysis
- name: Run unit tests
run: poetry run make unit
- name: Build test
run: poetry run make build
- name: Run CLI tests
run: make cli