add custom builder for VectorsConfig (#135) #308
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Formatter and linter | |
on: [ push ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install minimal stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install protobuf-compiler | |
- name: Check code formatting | |
run: cargo fmt --all -- --check | |
- name: Check cargo clippy warnings | |
run: cargo clippy --workspace --all-targets --all-features -- -D warnings |