Skip to content

Implementation of some initial functionality with proper testing #4

Implementation of some initial functionality with proper testing

Implementation of some initial functionality with proper testing #4

Workflow file for this run

name: PR checks
on:
- pull_request
- merge_group
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: debug-build
- name: Test
run: cargo test --workspace
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
shared-key: debug-build
- name: Lint
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Check formatting
run: cargo fmt --all --check