Skip to content

chore(deps): bump the minor-and-patch group across 1 directory with 14 updates #120

chore(deps): bump the minor-and-patch group across 1 directory with 14 updates

chore(deps): bump the minor-and-patch group across 1 directory with 14 updates #120

Workflow file for this run

name: CI
on:
pull_request:
branches: ["main"]
types: ["opened", "reopened", "edited", "synchronize"]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- name: Check types
run: npm run check-types
- name: Check formatting
run: npm run fmt
- name: Lint
run: npm run lint
- name: Test
run: npm run test
backend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src-tauri/
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- name: Check formatting
run: cargo fmt --check
- name: Lint
run: cargo clippy -- -D warnings
- name: Test
run: cargo test