Skip to content

uncomment unstake for fee distribution staking #102

uncomment unstake for fee distribution staking

uncomment unstake for fee distribution staking #102

Workflow file for this run

on:
push:
pull_request:
types: [opened]
name: Integration tests
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.69.0
target: wasm32-unknown-unknown
override: true
components: llvm-tools-preview
- name: Compile WASM contracts
uses: actions-rs/cargo@v1
with:
command: build
args: --release --lib --target wasm32-unknown-unknown --locked --package collector --package distributor --package staking --package simple-vault --package liquidator
env:
RUSTFLAGS: "-C link-arg=-s"
- name: Pull CW20 contract
run: wget -P ./target/wasm32-unknown-unknown/release/ https://github.com/CosmWasm/cw-plus/releases/download/v1.1.0/cw20_base.wasm
- name: Run Integration Tests
uses: actions-rs/cargo@v1
with:
command: test
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.69.0
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests -- -D warnings