diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31d5d46e931..48aa5905a10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -508,17 +508,16 @@ jobs: name: Build Swift Wasm runs-on: ubuntu-24.04 container: - image: ghcr.io/swiftwasm/carton:0.15.3 + image: ghcr.io/swiftwasm/carton:0.20.1 steps: - - uses: actions/checkout@v3 - - name: Setup Wasmer - uses: wasmerio/setup-wasmer@v2 - - uses: swiftwasm/setup-swiftwasm@v1 - with: - swift-version: "wasm-5.9.2-RELEASE" - - name: Test - working-directory: tests/swift/Wasm.tests - run: swift run carton test + - uses: actions/checkout@v3 + - uses: bytecodealliance/actions/wasmtime/setup@v1 + - uses: swiftwasm/setup-swiftwasm@v1 + with: + swift-version: "wasm-6.0.2-RELEASE" + - name: Test + working-directory: tests/swift/Wasm.tests + run: swift run carton test build-ts: name: Build TS diff --git a/tests/swift/Wasm.tests/.swift-version b/tests/swift/Wasm.tests/.swift-version new file mode 100644 index 00000000000..a00b467039c --- /dev/null +++ b/tests/swift/Wasm.tests/.swift-version @@ -0,0 +1 @@ +wasm-6.0.2-RELEASE \ No newline at end of file diff --git a/tests/swift/Wasm.tests/Package.swift b/tests/swift/Wasm.tests/Package.swift index f5994cd506b..a7573d6c706 100644 --- a/tests/swift/Wasm.tests/Package.swift +++ b/tests/swift/Wasm.tests/Package.swift @@ -24,7 +24,7 @@ let package = Package( ], dependencies: [ .package(path: "../../.."), - .package(url: "https://github.com/swiftwasm/carton", exact: "1.0.1"), + .package(url: "https://github.com/swiftwasm/carton", exact: "1.1.2"), ], targets: [ .target(name: "Wasm"),