diff --git a/.github/workflows/rust-skipped.yml b/.github/workflows/rust-skipped.yml index e4d00219a..4c58de50b 100644 --- a/.github/workflows/rust-skipped.yml +++ b/.github/workflows/rust-skipped.yml @@ -5,15 +5,15 @@ on: push: branches: [main] paths-ignore: - - 'rust/**' + - 'rust/main/**' + - 'rust/sealevel/**' - .github/workflows/rust.yml pull_request: branches: [main] paths-ignore: - - 'rust/**' + - 'rust/main/**' + - 'rust/sealevel/**' - .github/workflows/rust.yml - # Support for merge queues - merge_group: env: CARGO_TERM_COLOR: always diff --git a/rust/Dockerfile b/rust/Dockerfile index 156144ab9..98f638bb4 100644 --- a/rust/Dockerfile +++ b/rust/Dockerfile @@ -25,6 +25,8 @@ COPY rust/sealevel rust/sealevel COPY rust/main/Cargo.toml rust/main/. COPY rust/main/Cargo.lock rust/main/. +# Required for VERGEN_GIT_SHA to be populated +COPY .git .git WORKDIR /usr/src/rust/main