diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 6079a21da..8c4122a00 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -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: diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 00c2e5a1e..4170cf335 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -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: