diff --git a/.github/workflows/test-with-openzeppelin-contracts.yml b/.github/workflows/test-with-openzeppelin-contracts.yml index c13bd29244..f18712714e 100644 --- a/.github/workflows/test-with-openzeppelin-contracts.yml +++ b/.github/workflows/test-with-openzeppelin-contracts.yml @@ -52,7 +52,6 @@ jobs: fail-fast: false matrix: dir: ${{ fromJSON(needs.collect-crates.outputs.dirs) }} - experimental_spec_shaking_v2: [true, false] runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 @@ -66,16 +65,6 @@ jobs: - run: echo "${{ github.workspace }}/stellar-cli" >> $GITHUB_PATH - run: rustup update - run: rustup target add wasm32v1-none - - name: Enable experimental_spec_shaking_v2 feature - if: matrix.experimental_spec_shaking_v2 - run: | - find . -name Cargo.toml | while read -r file; do - # Add feature to entries with existing features - sed -i '/soroban-sdk = {/s|features = \[|features = ["experimental_spec_shaking_v2", |' "$file" - # Add features field to entries without features - sed -i '/soroban-sdk = {/{/features/!s| }|, features = ["experimental_spec_shaking_v2"] }|}' "$file" - done - cargo update -p soroban-sdk - name: Diff run: git diff - name: Build ${{ matrix.dir }} @@ -88,7 +77,7 @@ jobs: echo "wasm=$wasm" | tee -a $GITHUB_OUTPUT - name: Set artifact name id: artifact-name - run: echo "name=wasm-$(echo ${{ matrix.dir }} | sed 's/\//-/g')${{ matrix.experimental_spec_shaking_v2 && '-spec-shaking-v2' || '' }}" | tee -a $GITHUB_OUTPUT + run: echo "name=wasm-$(echo ${{ matrix.dir }} | sed 's/\//-/g')" | tee -a $GITHUB_OUTPUT - name: Upload WASM artifacts uses: actions/upload-artifact@v7.0.1 with: diff --git a/.github/workflows/test-with-soroban-examples.yml b/.github/workflows/test-with-soroban-examples.yml index a63d2abec6..e683fef2f7 100644 --- a/.github/workflows/test-with-soroban-examples.yml +++ b/.github/workflows/test-with-soroban-examples.yml @@ -59,7 +59,6 @@ jobs: fail-fast: false matrix: dir: ${{ fromJSON(needs.collect-examples.outputs.dirs) }} - experimental_spec_shaking_v2: [true, false] runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 @@ -74,16 +73,6 @@ jobs: - run: echo "${{ github.workspace }}/stellar-cli" >> $GITHUB_PATH - run: rustup update - run: rustup target add wasm32v1-none - - name: Enable experimental_spec_shaking_v2 feature - if: matrix.experimental_spec_shaking_v2 - run: | - find . -name Cargo.toml | while read -r file; do - # Add feature to entries with existing features - sed -i '/soroban-sdk = {/s|features = \[|features = ["experimental_spec_shaking_v2", |' "$file" - # Add features field to entries without features - sed -i '/soroban-sdk = {/{/features/!s| }|, features = ["experimental_spec_shaking_v2"] }|}' "$file" - (cd "$(dirname "$file")" && cargo update -p soroban-sdk 2>/dev/null || true) - done - name: Diff run: git diff - name: Build ${{ matrix.dir }} @@ -96,7 +85,7 @@ jobs: echo "wasm=$wasm" | tee -a $GITHUB_OUTPUT - name: Set artifact name id: artifact-name - run: echo "name=wasm-$(echo ${{ matrix.dir }} | sed 's/\//-/g')${{ matrix.experimental_spec_shaking_v2 && '-spec-shaking-v2' || '' }}" | tee -a $GITHUB_OUTPUT + run: echo "name=wasm-$(echo ${{ matrix.dir }} | sed 's/\//-/g')" | tee -a $GITHUB_OUTPUT - name: Upload WASM artifacts uses: actions/upload-artifact@v7.0.1 with: