Skip to content

chore(deps): bump the tauri group with 2 updates #115

chore(deps): bump the tauri group with 2 updates

chore(deps): bump the tauri group with 2 updates #115

Workflow file for this run

name: Test Build
on:
push:
branches: [main]
pull_request:
branches: [main]
# Cancel in-progress runs when a new workflow with the same group name starts
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-24.04]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies (Ubuntu)
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
libappindicator3-dev \
librsvg2-dev \
patchelf
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Rust stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
cache: true
- name: Install frontend dependencies
run: npm ci
- name: Run frontend linting
run: npm run lint
- name: Check frontend formatting
run: npm run format:check
- name: Run frontend tests
run: npm run test:run
- name: Run Rust clippy
run: cd src-tauri && cargo clippy --all-targets -- -D warnings -A dead_code
- name: Run Rust tests
run: cd src-tauri && cargo test
- name: Build Tauri app (test build)
run: npm run tauri build -- --verbose
- name: Generate job summary
if: always()
run: |
echo "## Test Results Summary" >> $GITHUB_STEP_SUMMARY
echo "- **Platform**: Ubuntu 24.04" >> $GITHUB_STEP_SUMMARY
echo "- **Node.js**: 20" >> $GITHUB_STEP_SUMMARY
echo "- **Rust**: stable" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Checks" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Frontend linting" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Code formatting" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Frontend tests" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Rust clippy" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Rust tests" >> $GITHUB_STEP_SUMMARY
echo "- ✅ Test build" >> $GITHUB_STEP_SUMMARY