Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/build-prqlc-c/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ runs:
${{ (github.ref == 'refs/heads/main') && contains(inputs.target,
'musl') }}
shared-key: rust-${{ inputs.target }}
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"

- if: runner.os == 'Linux'
shell: bash
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/build-prqlc/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ runs:
${{ (github.ref == 'refs/heads/main') && contains(inputs.target,
'musl') }}
shared-key: rust-${{ inputs.target }}
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"

- if: runner.os == 'Linux'
shell: bash
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/tend-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ runs:
prefix-key: ${{ hashFiles('./Cargo.lock') }}
shared-key: rust-x86_64-unknown-linux-gnu
save-if: false
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"

- run: |
echo CARGO_TERM_COLOR=always >> $GITHUB_ENV
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/time-compilation/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ runs:
with:
prefix-key: ${{ env.version }}-${{ hashFiles('./Cargo.lock') }}
save-if: ${{ github.ref == 'refs/heads/main' }}
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
# 'true' seems to require quotes (and using a bare `inputs.use_cache`
# doesn't work); I'm really not sure why. There are some issues on the
# interwebs around this, but I couldn't find one that explained it.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
save-if:
${{ github.ref == 'refs/heads/web' || github.ref ==
'refs/heads/main' }}
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"

- uses: go-task/setup-task@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ jobs:
# Share key with the `build-web` job
shared-key: web
save-if: false
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"

# This is only required in order to have `cross-env` installed, since `npx
# cross-env` doesn't seem to work in CI (https://github.com/PRQL/prql/pull/3728)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
prefix-key: ${{ env.version }}-${{ env.cargo_lock_hash }}
save-if: ${{ github.ref == 'refs/heads/main' }}
shared-key: lib
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
- name: Maven test
working-directory: prqlc/bindings/java/java/
run: ./mvnw test
4 changes: 4 additions & 0 deletions .github/workflows/test-js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ jobs:
# we're out of cache space.
shared-key: web
save-if: false
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"

- run: npm cit
working-directory: prqlc/bindings/js
4 changes: 4 additions & 0 deletions .github/workflows/test-php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,9 @@ jobs:
prefix-key: ${{ env.version }}-${{ hashFiles('./Cargo.lock') }}
save-if: ${{ github.ref == 'refs/heads/main' }}
shared-key: lib
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
- run: task build-php
- run: task test-php
4 changes: 4 additions & 0 deletions .github/workflows/test-prqlc-c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
prefix-key: ${{ env.version }}-${{ hashFiles('./Cargo.lock') }}
save-if: ${{ github.ref == 'refs/heads/main' }}
shared-key: lib
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
- name: Build
uses: clechasseur/rs-cargo@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ jobs:
# the comma seemed over the top.
save-if:
${{ github.ref == 'refs/heads/main' && inputs.features != '' }}
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
- uses: actions/setup-python@v6
# python isn't natively installed on macos-15, so we need to install it
if: ${{ inputs.os == 'macos-15' }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,10 @@ jobs:
shared-key: web
# Created by `build-web`
save-if: false
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
# Only build the book — rather than `build-web` which also builds the playground
- name: Build the mdbook
run: mdbook build web/book/
Expand All @@ -457,6 +461,10 @@ jobs:
with:
prefix-key: ${{ env.version }}-${{ hashFiles('./Cargo.lock') }}
save-if: ${{ github.ref == 'refs/heads/main' }}
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
# Ensure nothing remains from caching
- run: cargo llvm-cov clean --workspace
- run:
Expand Down Expand Up @@ -595,6 +603,10 @@ jobs:
with:
prefix-key: ${{ env.version }}-${{ hashFiles('./Cargo.lock') }}
save-if: ${{ github.ref == 'refs/heads/main' }}
# Caching `~/.cargo/bin/` breaks the rustup `cargo`/`rustc` symlinks
# on the new macos-15 runner image — see
# https://github.com/Swatinem/rust-cache/issues/341.
cache-bin: "false"
- name: Verify minimum rust version
run: cargo minimal-versions test --direct

Expand Down
Loading