From a2fb96ba693d22e1f7d128b36d27521172f77834 Mon Sep 17 00:00:00 2001 From: "J. Kirby Ross" Date: Wed, 11 Jun 2025 23:59:31 -0700 Subject: [PATCH 1/2] fix: update GitHub Actions to use non-deprecated artifact action - Upgrade actions/upload-artifact from v3 to v4 - Fixes CI failure due to deprecated action version - GitHub deprecated v3 artifact actions on April 16, 2024 Resolves CI error: "This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3" --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd67b7c3..dbf21baa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Upload test results if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: | From 8da5a81962625a90a8f3db9202cb60d60ae33c4a Mon Sep 17 00:00:00 2001 From: "J. Kirby Ross" Date: Thu, 12 Jun 2025 00:03:00 -0700 Subject: [PATCH 2/2] fix: set working directory for cross-platform CI tests - Add working-directory: ./cli to cross-platform test job - Fixes "could not find Cargo.toml" error in GitHub Actions - Ensures cargo commands run in the correct subdirectory The monorepo structure requires CI to explicitly navigate to the cli/ directory where the Rust project lives. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbf21baa..736d36fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: components: rustfmt, clippy - name: Run tests natively + working-directory: ./cli run: | cargo fmt --check cargo clippy -- -D warnings