mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-24 17:20:51 +02:00
fix workflows
This commit is contained in:
@@ -6,13 +6,15 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/format-javascript.yml'
|
- '.github/workflows/format-javascript.yml'
|
||||||
- "client/**"
|
- 'plugins/*/guest-js/**'
|
||||||
|
- '.prettierignore'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/format-javascript.yml'
|
- '.github/workflows/format-javascript.yml'
|
||||||
- "client/**"
|
- 'plugins/*/guest-js/**''
|
||||||
|
- '.prettierignore'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|||||||
@@ -6,13 +6,15 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/format-rust.yml'
|
- '.github/workflows/format-rust.yml'
|
||||||
- 'src/**'
|
- 'plugins/src/**'
|
||||||
|
- "**/Cargo.lock"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/format-rust.yml'
|
- '.github/workflows/format-rust.yml'
|
||||||
- 'src/**'
|
- 'plugins/src/**'
|
||||||
|
- "**/Cargo.lock"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
@@ -32,4 +34,4 @@ jobs:
|
|||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: --manifest-path=Cargo.toml --all -- --check
|
args: --all -- --check
|
||||||
@@ -6,13 +6,17 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/lint-javascript.yml'
|
- '.github/workflows/lint-javascript.yml'
|
||||||
- "client/**"
|
- 'plugins/*/guest-js/**'
|
||||||
|
- '.eslintignore'
|
||||||
|
- '.eslintrc.json'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/lint-javascript.yml'
|
- '.github/workflows/lint-javascript.yml'
|
||||||
- "client/**"
|
- 'plugins/*/guest-js/**'
|
||||||
|
- '.eslintignore'
|
||||||
|
- '.eslintrc.json'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|||||||
@@ -6,13 +6,15 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/lint.yml'
|
- '.github/workflows/lint.yml'
|
||||||
- 'src/**'
|
- 'plugins/src/**'
|
||||||
|
- "**/Cargo.lock"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/lint.yml'
|
- '.github/workflows/lint.yml'
|
||||||
- 'src/**'
|
- 'plugins/src/**'
|
||||||
|
- "**/Cargo.lock"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -41,5 +43,5 @@ jobs:
|
|||||||
- uses: actions-rs/clippy-check@v1
|
- uses: actions-rs/clippy-check@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
args: --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings
|
args: --all --all-targets --all-features -- -D warnings
|
||||||
name: clippy
|
name: clippy
|
||||||
Generated
+1
-1
@@ -4195,7 +4195,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tauri-plugin-positioner"
|
name = "tauri-plugin-positioner"
|
||||||
version = "0.1.0"
|
version = "0.2.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.17",
|
"log 0.4.17",
|
||||||
"serde",
|
"serde",
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tauri-bindgen-host-macro"
|
name = "tauri-plugin-authenticator"
|
||||||
authors.workspace = true
|
version = "0.1.0"
|
||||||
version.workspace = true
|
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|||||||
@@ -264,7 +264,15 @@ impl LoggerBuilder {
|
|||||||
.into()
|
.into()
|
||||||
}
|
}
|
||||||
LogTarget::LogDir => {
|
LogTarget::LogDir => {
|
||||||
let path = app_handle.path_resolver().log_dir().unwrap();
|
let path = app_handle.path_resolver()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.log_dir().unwrap();
|
||||||
if !path.exists() {
|
if !path.exists() {
|
||||||
fs::create_dir_all(&path).unwrap();
|
fs::create_dir_all(&path).unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user