Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Replace failure with thiserror (#52) #108

Replace failure with thiserror (#52)

Replace failure with thiserror (#52) #108

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_MY_REGISTRY_INDEX: https://github.com/rust-lang/crates.io-index
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy
- name: Check code format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-04-07
- uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-04-07
- uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --release --no-fail-fast