diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-09-25 15:54:56 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-09-25 15:54:56 +0800 |
| commit | 3b9f34c380b020c3ac0fc46f4dda5c0581899786 (patch) | |
| tree | 0bc7cd438ab6bffd3dab88590d8fe47b05711a4a /.github/workflows/rust.yml | |
| parent | 0eeb842c21ff1681e77ccbd47fe7a3c9779a65d5 (diff) | |
Fix musl target installation in test job
- Replace 'Verify musl target is installed' with 'Install musl target' in test job
- This ensures musl target is properly installed before building and testing
Diffstat (limited to '.github/workflows/rust.yml')
| -rw-r--r-- | .github/workflows/rust.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0374efc..f91f752 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -64,8 +64,8 @@ jobs: ~/.cargo/git target key: ${{ needs.setup.outputs.cache-key }}-test - - name: Verify musl target is installed - run: rustup target list | grep x86_64-unknown-linux-musl | grep installed + - name: Install musl target + run: rustup target add x86_64-unknown-linux-musl - name: Build run: cargo build --workspace --verbose - name: Run tests |
