Create pure Rust port #47
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: Rust Build | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- name: Set git to checkout as is, commit LF | |
run: git config --global core.autocrlf input | |
- uses: actions/checkout@v2 | |
- name: Cargo Test | |
run: cargo test -- --nocapture | |
working-directory: ./rust | |
- name: Cargo Clippy Check | |
run: cargo clippy --all-features --workspace -- -D warnings | |
working-directory: ./rust | |
- name: Cargo Format Check | |
run: cargo fmt -- --check | |
working-directory: ./rust | |
- name: Cargo Sort Check | |
run: cargo install cargo-sort --debug && cargo-sort --check | |
working-directory: ./rust |