name: Check Requirements on: push: paths: - "pyproject.toml" - "uv.lock" pull_request: paths: - "pyproject.toml" - "uv.lock" jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: include: - os: ubuntu-latest TARGET: Linux - os: macos-latest TARGET: macOS - os: windows-latest TARGET: Windows python-version: [ "3.12" ] steps: - name: Checkout repository uses: actions/checkout@v6 - name: Set up Python 3.12 uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install uv run: | curl -LsSf https://astral.sh/uv/install.sh | sh shell: bash - name: Add uv to PATH (Unix) if: matrix.TARGET != 'Windows' run: echo "$HOME/.local/bin" >> $GITHUB_PATH shell: bash - name: Add uv to PATH (Windows) if: matrix.TARGET == 'Windows' run: echo "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append shell: pwsh - name: Sync dependencies from pyproject.toml run: uv sync shell: bash