build(deps-dev): bump vue from 3.4.21 to 3.4.29 #406
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: "[Rust] Lint & Test" | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
lint-test: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install libwebkit2gtk-4.0-dev libgtk-3-dev | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
default: true | |
components: rustfmt, clippy | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Create dummy `./dist` | |
run: | | |
mkdir dist | |
touch dist/index.html | |
- name: Run `cargo fmt` | |
working-directory: ./src-tauri | |
run: cargo fmt | |
- name: Run `cargo clippy` | |
working-directory: ./src-tauri | |
run: cargo clippy --all-targets -- -D warnings -W clippy::pedantic | |
- name: Run `cargo sqlx prepare --check` | |
working-directory: ./src-tauri | |
run: | | |
cargo install sqlx-cli --no-default-features --features sqlite | |
cargo sqlx prepare --check | |
- name: Run `cargo test` | |
working-directory: ./src-tauri | |
run: cargo test |