feat: autostart + single-instance #82
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: 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.1-dev \ | |
build-essential \ | |
curl \ | |
wget \ | |
file \ | |
libxdo-dev \ | |
libssl-dev \ | |
libayatana-appindicator3-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 |