Repository navigation
Make attachment metadata stripping actually strip #20
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| rust-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev | |
| - name: Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt | |
| - name: Cargo Format | |
| run: cargo fmt --all -- --check | |
| - name: Cargo Clippy | |
| run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: Cargo Test | |
| run: cargo test --workspace | |
| frontend-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: | | |
| cd apps/desktop | |
| npm install | |
| - name: Lint | |
| run: | | |
| cd apps/desktop | |
| npm run lint | |
| - name: Build | |
| run: | | |
| cd apps/desktop | |
| npm run build |