From 2a1044f97a8b44fc8a3b65b138de4bf49893a778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= Date: Mon, 2 Dec 2024 11:41:12 +0000 Subject: [PATCH] fix(rs-semver-checks): `cd` into checked out repo when `cargo check`ing --- .github/workflows/rs-semver-checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rs-semver-checks.yml b/.github/workflows/rs-semver-checks.yml index 654af16..36ef825 100644 --- a/.github/workflows/rs-semver-checks.yml +++ b/.github/workflows/rs-semver-checks.yml @@ -58,7 +58,9 @@ jobs: # Abort if the crate has build errors. - name: Check for build errors id: build - run: cargo check --all-targets + run: | + cd PR_BRANCH + cargo check --all-targets # Run cargo-semver-checks against the PR's target branch. - name: Check for public API changes