mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 05:50:25 -05:00
Run the Docker build workflow when we touch project or toolchain metadata (#11938)
I noticed that https://github.com/astral-sh/uv/pull/11936 did not run the Docker builds, nor did #11934 We should run these when the relevant files change so there aren't surprises at release time! Updates the `build-binaries` workflow to include toolchain version changes and `.cargo/config.toml` changes too.
This commit is contained in:
8
.github/workflows/build-binaries.yml
vendored
8
.github/workflows/build-binaries.yml
vendored
@@ -14,11 +14,15 @@ on:
|
||||
type: string
|
||||
pull_request:
|
||||
paths:
|
||||
# When we change project metadata, we want to ensure that the maturin builds still work.
|
||||
# We want to ensure that the maturin builds still work when we change
|
||||
# Project metadata
|
||||
- pyproject.toml
|
||||
- Cargo.toml
|
||||
- .cargo/config.toml
|
||||
# Toolchain or dependency versions
|
||||
- Cargo.lock
|
||||
# And when we change this workflow itself...
|
||||
- rust-toolchain.toml
|
||||
# And the workflow itself
|
||||
- .github/workflows/build-binaries.yml
|
||||
|
||||
concurrency:
|
||||
|
||||
11
.github/workflows/build-docker.yml
vendored
11
.github/workflows/build-docker.yml
vendored
@@ -15,6 +15,17 @@ on:
|
||||
type: string
|
||||
pull_request:
|
||||
paths:
|
||||
# We want to ensure that the maturin builds still work when we change
|
||||
# Project metadata
|
||||
- pyproject.toml
|
||||
- Cargo.toml
|
||||
- .cargo/config.toml
|
||||
# Toolchain or dependency versions
|
||||
- Cargo.lock
|
||||
- rust-toolchain.toml
|
||||
# The Dockerfile itself
|
||||
- Dockerfile
|
||||
# And the workflow itself
|
||||
- .github/workflows/build-docker.yml
|
||||
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user