Skip to content

Update cosmos-sdk-proto, gravity_proto/v0.4.5 #20

Update cosmos-sdk-proto, gravity_proto/v0.4.5

Update cosmos-sdk-proto, gravity_proto/v0.4.5 #20

Workflow file for this run

name: Rust tests
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
- name: Check rust code
run: cargo check --all
test:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
- name: Test rust code
run: cargo test --verbose --all
rustfmt:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check code formatting
run: rustup component add rustfmt && cargo fmt --all -- --check
audit:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
- name: Run Cargo Audit
run: cargo install cargo-audit && cargo audit