Skip to content

fix tauri 2.0 issue in Windows #5

fix tauri 2.0 issue in Windows

fix tauri 2.0 issue in Windows #5

Workflow file for this run

name: 'Linting'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
cargo-check:
strategy:
fail-fast: false
matrix:
include:
- platform: 'macos-latest'
args: '--target aarch64-apple-darwin'
- platform: 'windows-latest'
args: ''
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin' || '' }}
- name: Run Cargo check
run: |
cd src-tauri
cargo check