add metadata #245
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- "*" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@just | |
- uses: cargo-bins/cargo-binstall@main | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly | |
components: clippy rustfmt | |
- run: cargo binstall -y bpf-linker | |
- name: Build Tamanoir | |
run: just build-tamanoir | |
- name: Build Tamanoir-C2 | |
run: | | |
sudo apt install -y protobuf-compiler | |
just build-c2 | |
- name: Linting | |
run: | | |
cargo clippy --workspace --all-features -- -D warnings | |
cargo fmt --all -- --check |