Skip to content

Merge pull request #56 from faststats-dev/renovate/tokio-tracing-mono… #218

Merge pull request #56 from faststats-dev/renovate/tokio-tracing-mono…

Merge pull request #56 from faststats-dev/renovate/tokio-tracing-mono… #218

Workflow file for this run

name: Build and Test
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test