Skip to content

Commit 305ae81

Browse files
committed
fix(ci): install isomdl-uniffi from GitHub release wheel
Replace broken Rust toolchain setup with direct wheel installation from the isomdl-uniffi GitHub release. The wheel is only installed when oid4vc plugin is in the changed plugins list. - Removes rust-toolchain setup (no Cargo.toml in repo) - Removes uniffi-bindgen cargo install (wrong package name) - Uses prebuilt manylinux wheel from v0.1.0-test release Signed-off-by: Adam Burdett <burdettadam@gmail.com>
1 parent 0090fd6 commit 305ae81

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/pr-linting-and-unit-tests.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,12 @@ jobs:
6363
6464
echo "changed-plugins=${changed_dirs[*]}" >> $GITHUB_OUTPUT
6565
#----------------------------------------------
66-
# Install Rust toolchain (for isomdl-uniffi)
66+
# Install isomdl-uniffi (for oid4vc mso_mdoc support)
6767
#----------------------------------------------
68-
- name: Install Rust toolchain
69-
uses: actions-rust-lang/setup-rust-toolchain@v1
70-
with:
71-
toolchain: stable
72-
- name: Cache Rust dependencies
73-
uses: Swatinem/rust-cache@v2
74-
#----------------------------------------------
75-
# Install uniffi-bindgen (for isomdl-uniffi)
76-
#----------------------------------------------
77-
- name: Install uniffi-bindgen
78-
run: cargo install uniffi-bindgen --version 0.28.3
68+
- name: Install isomdl-uniffi
69+
if: contains(steps.changed-plugins.outputs.changed-plugins, 'oid4vc')
70+
run: |
71+
pip install https://github.com/Indicio-tech/isomdl-uniffi/releases/download/v0.1.0-test/isomdl_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
7972
#----------------------------------------------
8073
# Install dependencies
8174
#----------------------------------------------

0 commit comments

Comments
 (0)