Skip to content

workflow: support specifying passthrough_modules to SandboxPolicy #654

workflow: support specifying passthrough_modules to SandboxPolicy

workflow: support specifying passthrough_modules to SandboxPolicy #654

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions: {}
jobs:
lint-test-and-build:
name: test (py${{ matrix.python-version }})
runs-on: ubuntu-latest
environment: ci
permissions:
contents: read
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
env:
BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: false
- name: Sync dependencies
run: uv sync --all-packages --locked --python ${{ matrix.python-version }}
- name: Lint
run: ./scripts/lint.sh
- name: Typecheck
run: ./scripts/typecheck.sh
- name: Test
run: ./scripts/test.sh
- name: Build package
run: ./scripts/build.sh