Skip to content

support v0.9.40 (#50) #120

support v0.9.40 (#50)

support v0.9.40 (#50) #120

Workflow file for this run

name: Cargo checks
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: nightly-2022-10-30
components: rustfmt
target: wasm32-unknown-unknown
default: true
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Check format
run: cargo fmt --all -- --check
- name: Install clippy
run: rustup component add clippy
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Run cargo check
run: cargo check --all
- name: Run cargo test
run: cargo test --all