chore(deps): bump the minor-and-patch group across 1 directory with 14 updates #121
Workflow file for this run
This file contains 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: | |
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" | |
- uses: taiki-e/install-action@nextest | |
- name: Check formatting | |
run: cargo fmt --check | |
- name: Lint | |
run: cargo clippy -- -D warnings | |
- name: Test | |
run: cargo nextest run |