Skip to content

fix: rlp signed bytes prefix (#422) #427

fix: rlp signed bytes prefix (#422)

fix: rlp signed bytes prefix (#422) #427

Workflow file for this run

# Based on https://github.com/actions-rs/example/blob/master/.github/workflows/quickstart.yml
name: Test and Lint CW contracts
on:
pull_request:
branches:
- "**"
paths:
- "contracts/cosmwasm-vm/**"
- "libraries/common/rust/**"
- ".github/workflows/basic-rust.yml"
push:
branches:
- main
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Run unit tests
run: |
RUST_BACKTRACE=1 cargo unit-test --locked
- name: Compile WASM contract
run: |
RUSTFLAGS='-C link-arg=-s' cargo wasm --locked
lints:
name: Lints
runs-on: ubuntu-latest
defaults:
run:
working-directory: contracts/cosmwasm-vm
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Run cargo clippy
run: |
cargo clippy