Skip to content

Add release workflows #17

Add release workflows

Add release workflows #17

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
- 'release-**'
pull_request:
jobs:
ci:
name: Lint and unit test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings