This repository was archived by the owner on May 13, 2026. It is now read-only.
Repository navigation
write logs to file #21
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: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| # Linters inspired from here: https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md | |
| jobs: | |
| rust: | |
| name: ${{ matrix.os }}-latest | |
| runs-on: ${{ matrix.os }}-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| include: | |
| - os: ubuntu | |
| - os: macos | |
| # - os: windows | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: fmt | |
| run: cargo fmt --all -- --check | |
| - name: build | |
| run: cargo build --verbose | |
| - name: clippy | |
| run: cargo clippy -- -D warnings | |
| - name: test | |
| run: cargo test --verbose -- --nocapture |