Skip to content

Possible fix for windows build #40

Possible fix for windows build

Possible fix for windows build #40

Workflow file for this run

name: Test and Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "yarn"
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Install frontend dependencies
run: yarn install --frozen-lockfile
- name: Check Prettier formatting
run: yarn lint:format
- name: Check Rust formatting
run: cd src-tauri && cargo fmt --check
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libasound2-dev \
libwebkit2gtk-4.1-dev \
libappindicator3-dev \
librsvg2-dev \
patchelf
- name: Run Clippy
run: cd src-tauri && cargo clippy --all-targets --all-features -- -D warnings