This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
feat: rewrite it in rust #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: Build and Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
components: clippy, rustfmt | |
- name: Check formatting | |
run: cargo fmt --all -- --check | |
- name: Build and test | |
run: cargo test --all-features | |
- name: Lint | |
run: cargo clippy -- -Dwarnings |