Skip to content

update crates and fix breaking changes #6

update crates and fix breaking changes

update crates and fix breaking changes #6

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install the Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Rust Cache Action
uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test
fmt:
name: Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Enforce formatting
run: cargo fmt --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Linting
run: cargo clippy -- -D warnings