feat: replace colored with owo-colors #37
Workflow file for this run
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 lint & format check | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| RUSTFLAGS: -Dwarnings # Turn warnings into errors | |
| RUST_CI: true | |
| jobs: | |
| check-linux: | |
| name: "Ubuntu: cargo clippy && cargo fmt" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - run: cargo fmt --all -- --check | |
| - run: cargo clippy --all-features --all-targets | |
| check-windows: | |
| name: "Windows: cargo clippy" | |
| runs-on: windows-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - run: cargo clippy --all-features --all-targets | |
| check-macos: | |
| name: "MacOS: cargo clippy" | |
| runs-on: macos-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - run: cargo clippy --all-features --all-targets |