fix(single-instance): Fix compile errors after windows-sys 0.59 updat… #891
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: Check MSRV | |
on: | |
push: | |
branches: | |
- v1 | |
- v2 | |
paths: | |
- ".github/workflows/msrv-check.yml" | |
- "plugins/*/src/**" | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
pull_request: | |
branches: | |
- v1 | |
- v2 | |
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 | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev | |
- uses: dtolnay/[email protected] | |
- uses: Swatinem/rust-cache@v2 | |
- name: build | |
run: cargo build --workspace --exclude 'tauri-plugin-sql' --all-targets --all-features | |
- uses: dtolnay/[email protected] | |
- 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 |