Skip to content

Merge pull request #12 from JayKickliter/jsk/document-crates #45

Merge pull request #12 from JayKickliter/jsk/document-crates

Merge pull request #12 from JayKickliter/jsk/document-crates #45

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
tags: ['*']
jobs:
rust:
runs-on: ubuntu-latest
steps:
- name: Setup | Cancel previous runs
uses: styfle/[email protected]
- name: Setup | Checkout
uses: actions/checkout@v3
- name: Setup | Rust toolchain
uses: dtolnay/[email protected]
with:
components: clippy, rustfmt
- name: Setup | Rust cache
uses: Swatinem/rust-cache@v2
- name: Build | Test
run: cargo test
- name: Hygiene | Formatting
run: cargo fmt -- --check
- name: Hygiene | Clippy
run: cargo clippy --all-targets --all-features -- -Dclippy::all -Dwarnings