Skip to content

Bump log from 0.4.22 to 0.4.25 #21

Bump log from 0.4.22 to 0.4.25

Bump log from 0.4.22 to 0.4.25 #21

Workflow file for this run

name: CI
on:
pull_request:
paths:
- '**.rs'
- 'Cargo.toml'
- 'Cargo.lock'
push:
branches: [ "main" ]
paths:
- '**.rs'
- 'Cargo.toml'
- 'Cargo.lock'
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test
check-configs:
name: Validate Configurations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate TOML config
run: |
if ! cargo install taplo-cli --locked; then
echo "Failed to install TOML validator"
exit 1
fi
taplo lint config.toml