chore(deps): bump astral-sh/setup-uv from 8.2.0 to 8.3.0 in the github-actions group #807
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| duckdb-version: "1.5.1" | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ${{ matrix.os.runner }} | |
| env: | |
| DUCKDB_LIB_DIR: ${{ github.workspace }}/opt/duckdb | |
| LD_LIBRARY_PATH: ${{ github.workspace }}/opt/duckdb | |
| DYLD_LIBRARY_PATH: ${{ github.workspace }}/opt/duckdb | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| os: | |
| - runner: ubuntu-latest | |
| duckdb-slug: linux-amd64 | |
| include: | |
| - python-version: "3.11" | |
| os: | |
| runner: macos-latest | |
| duckdb-slug: osx-universal | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 | |
| with: | |
| submodules: true | |
| - uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache-dependency-glob: | | |
| pyproject.toml | |
| uv.lock | |
| - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 | |
| - name: Install libduckdb | |
| run: | | |
| curl -L -o libduckdb-${{ matrix.os.duckdb-slug }}.zip https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-${{ matrix.os.duckdb-slug }}.zip | |
| mkdir -p ${{ github.workspace }}/opt/duckdb | |
| unzip libduckdb-${{ matrix.os.duckdb-slug }}.zip -d ${{ github.workspace }}/opt/duckdb | |
| - name: Install GDAL | |
| if: runner.os == 'macOS' | |
| run: brew install gdal | |
| - name: Sync | |
| run: uv sync --all-extras | |
| - name: Lint | |
| run: scripts/lint | |
| - name: Test | |
| run: scripts/test | |
| - name: Sync w/o extras | |
| run: uv sync | |
| - name: Test w/o extras | |
| run: uv run pytest | |
| - name: Check docs | |
| # not worth it to install cairo on macos | |
| if: runner.os == 'ubuntu-latest' | |
| run: uv run mkdocs build --strict | |
| build-windows: | |
| name: Build (Windows) | |
| runs-on: windows-latest | |
| env: | |
| DUCKDB_LIB_DIR: ${{ github.workspace }}\opt\duckdb | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 | |
| with: | |
| submodules: true | |
| - uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0 | |
| with: | |
| python-version: "3.11" | |
| cache-dependency-glob: | | |
| pyproject.toml | |
| uv.lock | |
| - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 | |
| - name: Install libduckdb | |
| shell: bash | |
| run: | | |
| curl -L -o libduckdb-windows-amd64.zip https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-windows-amd64.zip | |
| mkdir -p opt/duckdb | |
| unzip libduckdb-windows-amd64.zip -d opt/duckdb | |
| echo "${{ github.workspace }}\opt\duckdb" >> "$GITHUB_PATH" | |
| - name: Sync | |
| run: uv sync | |
| import: | |
| name: Import | |
| runs-on: ubuntu-latest | |
| env: | |
| DUCKDB_LIB_DIR: ${{ github.workspace }}/opt/duckdb | |
| LD_LIBRARY_PATH: ${{ github.workspace }}/opt/duckdb | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 | |
| with: | |
| submodules: true | |
| - uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0 | |
| - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 | |
| - name: Install libduckdb | |
| run: | | |
| wget https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-linux-amd64.zip | |
| mkdir -p ${{ github.workspace }}/opt/duckdb | |
| unzip libduckdb-linux-amd64.zip -d ${{ github.workspace }}/opt/duckdb | |
| - name: Import | |
| run: uv run --no-default-groups python -c "import rustac" |