Skip to content

Bump CosmWasm to v2.0 (#25) #17

Bump CosmWasm to v2.0 (#25)

Bump CosmWasm to v2.0 (#25) #17

Workflow file for this run

on: push
name: Rust
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: nightly
override: true
profile: minimal
components: clippy
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --tests -- -D warnings