Skip to content

chore: Add clippy and fix some lint warnings (#25) #42

chore: Add clippy and fix some lint warnings (#25)

chore: Add clippy and fix some lint warnings (#25) #42

Workflow file for this run

name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Rust Toolchain
run: rustup toolchain install stable --profile minimal --no-self-update
- name: Update cargo
run: cargo update
- name: Run Cargo Tests
run: cargo test
lint:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Rust Toolchain
run: rustup toolchain install stable --profile minimal --no-self-update
- name: Update cargo
run: cargo update
- name: Lint
run: cargo clippy --workspace --all-targets --all-features --no-deps -- -D warnings