feat(cli): Cli changes for dashboard backend #616
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: Dashboard Mode Clippy Check | |
| on: | |
| pull_request: | |
| branches: [ main, dev ] | |
| jobs: | |
| test: | |
| name: Test dashboard mode clippy check | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo dependencies | |
| uses: actions/cache@v4 | |
| continue-on-error: true | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') || 'fallback' }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo- | |
| - name: Run dashboard mode clippy check | |
| run: | | |
| rustup component add clippy | |
| sh clippy_check.sh dashboard |