chore: update to wasmer 4.2 #670
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust Client | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.72.0 | |
override: true | |
- name: Generate test cases | |
run: cargo run --package polywrap_tests_utils --bin generate | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Test & Generate code coverage | |
run: cargo llvm-cov --all-features --workspace --lcov --output-path cov.info --ignore-filename-regex tests-utils | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: cov.info | |
Examples: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.72.0 | |
override: true | |
- name: Instantiate IPFS node | |
run: npx polywrap infra up --modules=eth-ens-ipfs | |
- name: Run examples | |
run: .github/scripts/examples.sh |