Skip to content

Validate

Validate #759

Workflow file for this run

name: Validate
on:
pull_request:
branches: [main]
merge_group:
branches: [main]
workflow_dispatch:
# Minimal permissions for this workflow
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
- name: Setup Nix development environment
uses: nicknovitski/nix-develop@v1
- name: Install Python dependencies
run: uv sync --extra dev
- name: Check formatting (ruff)
run: |
ruff format --check src/ tests/
ruff check src/ tests/
- name: Run tests
run: pytest tests/ -v
- name: Build deepwork package
run: nix build
- name: Verify package output
run: |
ls -la result/bin/deepwork
./result/bin/deepwork --version