Skip to content

improve the implementation for 12. missing validation of parameters #87

improve the implementation for 12. missing validation of parameters

improve the implementation for 12. missing validation of parameters #87

Workflow file for this run

name: Rust
on: push
jobs:
check:
name: Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./cosmwasm
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: wasm32-unknown-unknown
- name: Check for errors
run: cargo check --locked --target wasm32-unknown-unknown
env:
RUST_BACKTRACE: 1
test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./cosmwasm
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Run tests
run: cargo test --lib --locked --tests
env:
RUST_BACKTRACE: 1
clippy:
name: Clippy
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./cosmwasm
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
- name: Run clippy
run: cargo clippy --tests -- -D warnings