Update deps #54
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: CI | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
vft-service: | |
name: VftService | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Install Clippy | |
run: rustup component add clippy | |
- name: Install Rustfmt | |
run: rustup component add rustfmt | |
- name: Check formatting | |
run: cargo fmt --all --manifest-path vft-service/Cargo.toml -- --check | |
- name: Run Clippy | |
run: cargo clippy -r --manifest-path vft-service/Cargo.toml -- -D warnings | |
vnft-service: | |
name: VnftService | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Install Clippy | |
run: rustup component add clippy | |
- name: Install Rustfmt | |
run: rustup component add rustfmt | |
- name: Check formatting | |
run: cargo fmt --all --manifest-path vnft-service/Cargo.toml -- --check | |
- name: Run Clippy | |
run: cargo clippy -r --manifest-path vnft-service/Cargo.toml -- -D warnings | |
extend-vft: | |
needs: [vft-service] | |
name: ExtendVft | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Install Clippy | |
run: rustup component add clippy | |
- name: Install Rustfmt | |
run: rustup component add rustfmt | |
- name: Check formatting | |
run: cargo fmt --all --manifest-path extended-vft/Cargo.toml -- --check | |
- name: Run Clippy | |
run: cargo clippy -r --manifest-path extended-vft/Cargo.toml -- -D warnings | |
- name: Prepare environment | |
run: | | |
mkdir -p extended-vft/target/tmp | |
curl -L https://get.gear.rs/gear-v1.6.1-x86_64-unknown-linux-gnu.tar.xz -o - | tar xJ -C extended-vft/target/tmp | |
- name: Run tests | |
run: cargo test -r --manifest-path extended-vft/Cargo.toml -- --ignored | |
extend-vnft: | |
needs: [vnft-service] | |
name: ExtendVnft | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Install Clippy | |
run: rustup component add clippy | |
- name: Install Rustfmt | |
run: rustup component add rustfmt | |
- name: Check formatting | |
run: cargo fmt --all --manifest-path extended-vnft/Cargo.toml -- --check | |
- name: Run Clippy | |
run: cargo clippy -r --manifest-path extended-vnft/Cargo.toml -- -D warnings | |
- name: Prepare environment | |
run: | | |
mkdir -p extended-vnft/target/tmp | |
curl -L https://get.gear.rs/gear-v1.5.0-x86_64-unknown-linux-gnu.tar.xz -o - | tar xJ -C extended-vnft/target/tmp | |
- name: Run tests | |
run: cargo test -r --manifest-path extended-vnft/Cargo.toml -- --ignored | |