Skip to content

chore(deps): bump actions/checkout from 6 to 7 #54

chore(deps): bump actions/checkout from 6 to 7

chore(deps): bump actions/checkout from 6 to 7 #54

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
workflow_call:
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint-python:
name: Ruff (Python)
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
- uses: astral-sh/ruff-action@v3
test-python:
name: Unit Tests (Python)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install Python dependencies
run: python -m pip install -r requirements.txt
- name: Run Python unit tests
run: python -m unittest discover -s tests -p 'test_*.py'
typecheck-ts:
name: TypeScript (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
defaults:
run:
working-directory: ui
steps:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@v2
- name: Install UI dependencies
run: bun install --frozen-lockfile
- name: Run TypeScript typecheck
run: bun run typecheck
test-ts:
name: Unit Tests (TypeScript)
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: ui
steps:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@v2
- name: Install UI dependencies
run: bun install --frozen-lockfile
- name: Run TypeScript unit tests
run: bun run test