Skip to content

Bump the actions group with 2 updates #308

Bump the actions group with 2 updates

Bump the actions group with 2 updates #308

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
UV_FROZEN: true
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: ./.github/actions/setup-uv
with:
enable-cache: ${{ github.event_name == 'push' }}
- run: uv sync
- run: uv run ruff check
- run: uv run ruff format --check
- run: uv run ty check ionq_core/
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: ./.github/actions/setup-uv
with:
python-version: ${{ matrix.python-version }}
enable-cache: ${{ github.event_name == 'push' }}
- run: uv sync
- run: uv run pytest ${{ matrix.python-version != '3.11' && '--no-cov' || '' }}
audit:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: ./.github/actions/setup-uv
with:
enable-cache: ${{ github.event_name == 'push' }}
- run: uvx pip-audit --require-hashes --strict -r <(uv pip compile pyproject.toml --generate-hashes)