mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
92233ea64a
* fix(deps): update rust crate sqlx to 0.7 * Update sql's msrv in workflow to 1.65 * Update README.md * Update Cargo.toml * Update Cargo.toml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
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 and libudev for [authenticator]
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev 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
|
|
|
|
- uses: dtolnay/rust-toolchain@1.65.0
|
|
|
|
- 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
|