Audit Issues Fix #170
Workflow file for this run
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: Metaverse Test | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
check: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-20.04 | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Set-Up | |
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl | |
- name: Install Rustup | |
run: | | |
curl https://sh.rustup.rs -sSf | sh -s -- -y | |
source ~/.cargo/env | |
rustup default nightly && rustup update | |
rustup default nightly-2022-11-15 | |
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-11-15 | |
- name: Check Rust version | |
run: rustup show | |
- name: Run all test cases | |
run: | | |
SKIP_WASM_BUILD= cargo test --all --features with-pioneer-runtime |