Skip to content

fix: correct typo in initializer field and reorganize LogConfig d… #281

fix: correct typo in initializer field and reorganize LogConfig d…

fix: correct typo in initializer field and reorganize LogConfig d… #281

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: CI
runs-on: ubuntu-latest
steps:
- name: Cache Cargo binaries and dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/bin
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install Toolchain
run: rustup toolchain install stable --profile minimal
- name: Checkout repository
uses: actions/checkout@v4
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Install Tools
run: cargo install -q cargo-tarpaulin || true
- name: Check Format
run: cargo fmt --check
- name: Clippy Lint
run: cargo clippy --no-deps
- name: Build and Test
run: |
cargo tarpaulin --coveralls=${{ secrets.COVERALLS_REPO_TOKEN }}