Skip to content

tf test

tf test #21

Workflow file for this run

name: Build
on:
push:
branches:
- 'main'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust.yml'
- 'build.rs'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup protocol buffers
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Checkout code
uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run clippy
run: cargo clippy --verbose