Skip to content

feat: migrate to tauri 2.0 #65

feat: migrate to tauri 2.0

feat: migrate to tauri 2.0 #65

Workflow file for this run

name: Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust nightly
run: |
rustup toolchain install nightly
rustup component add --toolchain nightly rustfmt
- name: Check formatting
run: cd src-tauri; cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
# From: https://tauri.app/v1/guides/getting-started/prerequisites
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
libsoup2.4-dev \
librsvg2-dev
- name: Set up Rust nightly
run: |
rustup toolchain install nightly
rustup component add --toolchain nightly clippy
- name: Install node dependencies
run: npm install
- name: Build aw-webui and icons
run: |
make prebuild
- name: Run clippy
run: cd src-tauri; cargo clippy