feat: start and stop watchers from the system tray #14
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: 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 | |
run: | | |
make build | |
- name: Run clippy | |
run: cd src-tauri; cargo clippy |