Merge pull request #15 from datachainlab/fix/dat3 #68
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| ci: | |
| name: ci | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install components | |
| run: | | |
| rustup component add rustfmt clippy | |
| cargo install cargo-machete | |
| - name: Check format | |
| run: cargo fmt --all -- --check | |
| - name: Check clippy | |
| run: cargo clippy --locked -- -D warnings | |
| - name: Check deps | |
| run: cargo machete | |
| - name: unit-test | |
| run: cargo test --release |