diff --git a/.github/workflows/test-with-soroban-examples.yml b/.github/workflows/test-with-soroban-examples.yml index f4e07cc5f..6c05d3170 100644 --- a/.github/workflows/test-with-soroban-examples.yml +++ b/.github/workflows/test-with-soroban-examples.yml @@ -42,6 +42,16 @@ jobs: matrix: working-directory: ${{ fromJSON(needs.collect-examples.outputs.dirs) }} experimental_spec_shaking_v2: [true, false] + # Exclude examples that depend on crates.io packages that transitively + # depend on soroban-sdk (e.g. soroban-poseidon). Cargo does not provide + # a way to override the version of soroban-sdk required as a transitive + # dependency of another dependency where the version to override is a + # different major version or does not match the semver compatibility + # defined by the importer, causing two copies of soroban-sdk to be + # compiled and duplicate lang item (panic_impl) errors. + # https://github.com/stellar/rs-soroban-sdk/issues/1723 + exclude: + - working-directory: privacy-pools defaults: run: working-directory: soroban-examples/${{ matrix.working-directory }}