Skip to content

V2.9.2 Fixed action #14

V2.9.2 Fixed action

V2.9.2 Fixed action #14

Workflow file for this run

name: test and lint
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install protoc
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy --workspace --tests
- name: Run tests
run: cargo test --workspace
- name: Run fmt
run: cargo fmt --all -- --check