Skip to content

Fix rustfmt formatting in api_tests.rs #35

Fix rustfmt formatting in api_tests.rs

Fix rustfmt formatting in api_tests.rs #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Test + Clippy
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Install Go (for libgvproxy)
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install LLVM (macOS)
run: brew install llvm lld protobuf
- run: cargo test --workspace
- run: cargo clippy --workspace -- -D warnings
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check formatting
run: cargo fmt --all -- --check