Skip to content

Commit aa5c602

Browse files
authored
CI: Install CLI deps before testing publish (#138)
#### Problem When testing and publishing packages, they may contain dependencies that require libudev, but we aren't always installing them. #### Summary of changes Specify the `cli` flag for all steps during publishing.
1 parent c7497d2 commit aa5c602

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
clippy: true
4646
rustfmt: true
4747
solana: true
48+
cli: true
4849
cargo-cache-key: cargo-test-publish-${{ inputs.package_path }}
4950
cargo-cache-fallback-key: cargo-test-publish
5051

@@ -84,6 +85,7 @@ jobs:
8485
- name: Setup Environment
8586
uses: ./.github/actions/setup
8687
with:
88+
cli: true
8789
cargo-cache-key: cargo-publish-${{ inputs.package_path }}
8890
cargo-cache-fallback-key: cargo-publish
8991

0 commit comments

Comments
 (0)