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

Use Config type

Use Config type #36

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: ci
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, clippy
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Run cargo fmt --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test