Skip to content

Bump CosmWasm to v2.0 (#23) #53

Bump CosmWasm to v2.0 (#23)

Bump CosmWasm to v2.0 (#23) #53

Workflow file for this run

name: Rust
on: push
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Check for errors
uses: actions-rs/cargo@v1
with:
command: check
args: --locked --tests
env:
RUST_BACKTRACE: 1
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --lib --locked --tests
env:
RUST_BACKTRACE: 1
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: clippy
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests -- -D warnings