Skip to content

Fix deps

Fix deps #7

Workflow file for this run

name: Rust
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: cargo-
- name: Check & Fmt & Clippy
run: |
cargo check --workspace
cargo fmt --check --all
cargo clippy --workspace
- name: Test
run: |
cargo test --workspace
- name: Build
run: |
cargo build --workspace