Skip to content

fix missing doc lints in tests #104

fix missing doc lints in tests

fix missing doc lints in tests #104

Workflow file for this run

name: lints
on:
push:
branches: [ main ]
pull_request:
branches: [ main, dev]
schedule:
# Runs the workflow at 00:00 on the first day of every month
- cron: '0 0 1 * *'
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- -D warnings