Skip to content

Updated cargo.toml

Updated cargo.toml #18

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set toolchain
run: |
rustup set profile minimal
rustup override set 1.75.0
- uses: Swatinem/rust-cache@v2.0.0
- name: Rustfmt check
run: |
rustup component add rustfmt
cargo fmt -- --check
- name: Clippy check
run: |
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings
- name: Test check
run: cargo test --all-features --all-targets