mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
9b70a79b2c
* fix(store): Use event module instead of appWindow, fixes #282 * fmt
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
name: Check MSRV
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- ".github/workflows/msrv-check.yml"
|
|
- "plugins/*/src/**"
|
|
- "**/Cargo.toml"
|
|
- "**/Cargo.lock"
|
|
pull_request:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- ".github/workflows/msrv-check.yml"
|
|
- "plugins/*/src/**"
|
|
- "**/Cargo.toml"
|
|
- "**/Cargo.lock"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
msrv:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: install webkit2gtk and libudev for [authenticator]
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y webkit2gtk-4.0 libudev-dev
|
|
|
|
- uses: dtolnay/rust-toolchain@1.64.0
|
|
|
|
- uses: Swatinem/rust-cache@v2
|
|
|
|
- name: build
|
|
run: cargo build --workspace --exclude 'tauri-plugin-sql' --all-targets --all-features
|
|
|
|
- name: build sql:sqlite
|
|
run: cargo build --package 'tauri-plugin-sql' --all-targets --features sqlite
|
|
|
|
- name: build sql:mysql
|
|
run: cargo build --package 'tauri-plugin-sql' --all-targets --features mysql
|
|
|
|
- name: build sql:postgres
|
|
run: cargo build --package 'tauri-plugin-sql' --all-targets --features postgres
|