fix: handle missing releases in PowerShell #19
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: Checks | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| checks: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Install JavaScript dependencies | |
| run: npm ci | |
| - name: Install libmpv development files | |
| shell: powershell | |
| run: npm run setup:mpv | |
| - name: Check frontend | |
| run: npm run check | |
| - name: Build frontend | |
| run: npm run build | |
| - name: Check Rust formatting | |
| run: cargo fmt --manifest-path src-tauri/Cargo.toml -- --check | |
| - name: Test Rust | |
| run: cargo test --manifest-path src-tauri/Cargo.toml | |
| - name: Lint Rust | |
| run: cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets |