Fix linter error #1
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: Build (Debug) Lazyboard for Linux | |
| on: | |
| push: | |
| branches: [ "major"] | |
| pull_request: | |
| branches: ["major"] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| APP_NAME: "Lazyboard" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| shell: bash | |
| run: | | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
| echo "$HOME/.cargo/bin:$PATH" >> $GITHUB_PATH | |
| - name: Add Rust components | |
| shell: bash | |
| run: | | |
| rustup component add clippy | |
| - name: Linter Check | |
| shell: bash | |
| run: | | |
| make check | |
| - name: Backend Test | |
| shell: bash | |
| run: | | |
| make backend-test | |
| - name: Build Lazyboard | |
| shell: bash | |
| run: | | |
| make debug | |
| - name: Upload Release | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ env.APP_NAME }} | |
| path: build/${{ env.APP_NAME }} |