Skip to content

chore(deps): update actions/setup-python action to v5.3.0 #468

chore(deps): update actions/setup-python action to v5.3.0

chore(deps): update actions/setup-python action to v5.3.0 #468

Workflow file for this run

name: Verify
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
name: Check the Codebase
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
strategy:
max-parallel: 4
matrix:
python-version: ["3.12"]
poetry-version: [1.7.1]
steps:
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry ${{ matrix.poetry-version }}
uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 # v3.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- run: |
poetry install
- run: |
poetry check
poetry run ruff check .
- run: |
poetry run pytest
poetry run coverage xml
- uses: coverallsapp/github-action@4cdef0b2dbe0c9aa26bed48edb868db738625e79 # v2.3.3
with:
file: coverage.xml
build:
runs-on: ubuntu-latest
name: Build
strategy:
max-parallel: 4
matrix:
python-version: ["3.12"]
steps:
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ matrix.python-version }}
- run: |
python -m pip install build
- run: |
python -m build