fix: mark clock update as debug logs #34
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: Rust | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| run_cargo_checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Rustup install nightly | |
| run: rustup toolchain install nightly | |
| - name: Rustup install rustfmt | |
| run: rustup component add rustfmt --toolchain nightly | |
| - name: Run Cargo fmt | |
| run: cargo +nightly fmt --all -- --check | |
| - name: Run Cargo clippy | |
| run: cargo clippy --all-targets --all-features | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose |