Skip to content

Run ledger tests in wasm #1775

Run ledger tests in wasm

Run ledger tests in wasm #1775

Workflow file for this run

name: lint
on:
push:
branches: [ main, develop ]
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup build dependencies
run: |
sudo apt update
sudo apt install -y protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.79
components: rustfmt, clippy
default: true
- uses: actions-rs/cargo@v1
name: rustfmt
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
name: check
with:
command: check
args: --all-targets
env:
RUSTFLAGS: -D warnings
- uses: actions-rs/clippy-check@v1
name: clippy
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets -- -D warnings