diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad848d6d..79d285ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,14 +137,7 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 9 - - name: Install cargo-web - run: | - CARGO_WEB_RELEASE=$(curl -L -s -H Accept:application/json https://github.com/koute/cargo-web/releases/latest) - CARGO_WEB_VERSION=$(echo "${CARGO_WEB_RELEASE}" | jq -r .tag_name) - CARGO_WEB_URL="https://github.com/koute/cargo-web/releases/download/${CARGO_WEB_VERSION}/cargo-web-x86_64-unknown-linux-gnu.gz" - mkdir -p ~/.cargo/bin - curl -L "${CARGO_WEB_URL}" | gzip -d > ~/.cargo/bin/cargo-web - chmod +x ~/.cargo/bin/cargo-web + - uses: dtolnay/install@cargo-web - run: cd test_suite && cargo web test --target=asmjs-unknown-emscripten --nodejs continue-on-error: true - run: cd test_suite && cargo web test --target=wasm32-unknown-emscripten --nodejs