Skip to content

fix: pin cargo-dist to 0.30.4, regenerate workflow #9

fix: pin cargo-dist to 0.30.4, regenerate workflow

fix: pin cargo-dist to 0.30.4, regenerate workflow #9

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- 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: Tests
run: cargo test -- --nocapture
- name: Build binary
run: cargo build --bins