Skip to content

proper error handling #2150

proper error handling

proper error handling #2150

name: Lint & Build & Test (core)
on:
push:
paths:
- core/**
- .github/workflows/build-and-test-core.yml
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install minimal stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: checkout
uses: actions/checkout@v3
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
with:
workspaces: core
- name: Lint
working-directory: core
run: cargo fmt --all -- --check
- name: Test
working-directory: core
run: cargo test --all