Skip to content

zsh support + macOS fixes #9

zsh support + macOS fixes

zsh support + macOS fixes #9

name: Rust Format, Clippy Lint, Test
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --verbose --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy -- -Dwarnings
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Rust Toolchain
uses: dtolnay/rust-toolchain@stable
- run: cargo test --verbose