Skip to content

fix(utils): harden zip extraction #22

fix(utils): harden zip extraction

fix(utils): harden zip extraction #22

Workflow file for this run

name: Build Package
permissions:
contents: read
on:
push:
branches: ['release/*', 'develop']
pull_request:
branches: ['release/*', 'develop']
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/build-package.yml'
workflow_call:
inputs:
python-version:
required: false
type: string
default: "3.10"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: 🐍 Install uv and set Python version ${{ inputs.python-version }}
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
python-version: ${{ inputs.python-version }}
activate-environment: true
- name: 🏗️ Build source and wheel distributions
run: |
uv sync --frozen --group build
uv build
uv run twine check --strict dist/*
ls -l dist/
- name: 📤 Upload distribution artifacts
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/