diff --git a/.github/workflows/format-javascript.yml b/.github/workflows/format-javascript.yml index 775a606c..1825182c 100644 --- a/.github/workflows/format-javascript.yml +++ b/.github/workflows/format-javascript.yml @@ -6,13 +6,15 @@ on: - main paths: - '.github/workflows/format-javascript.yml' - - "client/**" + - 'plugins/*/guest-js/**' + - '.prettierignore' pull_request: branches: - main paths: - '.github/workflows/format-javascript.yml' - - "client/**" + - 'plugins/*/guest-js/**'' + - '.prettierignore' concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/format-rust.yml b/.github/workflows/format-rust.yml index 9a8e1fd6..f31c50c7 100644 --- a/.github/workflows/format-rust.yml +++ b/.github/workflows/format-rust.yml @@ -6,13 +6,15 @@ on: - main paths: - '.github/workflows/format-rust.yml' - - 'src/**' + - 'plugins/src/**' + - "**/Cargo.lock" pull_request: branches: - main paths: - '.github/workflows/format-rust.yml' - - 'src/**' + - 'plugins/src/**' + - "**/Cargo.lock" jobs: format: @@ -32,4 +34,4 @@ jobs: - uses: actions-rs/cargo@v1 with: command: fmt - args: --manifest-path=Cargo.toml --all -- --check \ No newline at end of file + args: --all -- --check \ No newline at end of file diff --git a/.github/workflows/lint-javascript.yml b/.github/workflows/lint-javascript.yml index ca436bde..30bbc97d 100644 --- a/.github/workflows/lint-javascript.yml +++ b/.github/workflows/lint-javascript.yml @@ -6,13 +6,17 @@ on: - main paths: - '.github/workflows/lint-javascript.yml' - - "client/**" + - 'plugins/*/guest-js/**' + - '.eslintignore' + - '.eslintrc.json' pull_request: branches: - main paths: - '.github/workflows/lint-javascript.yml' - - "client/**" + - 'plugins/*/guest-js/**' + - '.eslintignore' + - '.eslintrc.json' concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/lint-rust.yml b/.github/workflows/lint-rust.yml index 82987719..03f0fac7 100644 --- a/.github/workflows/lint-rust.yml +++ b/.github/workflows/lint-rust.yml @@ -6,13 +6,15 @@ on: - main paths: - '.github/workflows/lint.yml' - - 'src/**' + - 'plugins/src/**' + - "**/Cargo.lock" pull_request: branches: - main paths: - '.github/workflows/lint.yml' - - 'src/**' + - 'plugins/src/**' + - "**/Cargo.lock" concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -41,5 +43,5 @@ jobs: - uses: actions-rs/clippy-check@v1 with: 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 \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 58bf0c2f..9b2f9f25 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4195,7 +4195,7 @@ dependencies = [ [[package]] name = "tauri-plugin-positioner" -version = "0.1.0" +version = "0.2.7" dependencies = [ "log 0.4.17", "serde", diff --git a/plugins/authenticator/Cargo.toml b/plugins/authenticator/Cargo.toml index a5d5258d..73978f5f 100644 --- a/plugins/authenticator/Cargo.toml +++ b/plugins/authenticator/Cargo.toml @@ -1,8 +1,9 @@ [package] -name = "tauri-bindgen-host-macro" -authors.workspace = true -version.workspace = true +name = "tauri-plugin-authenticator" +version = "0.1.0" 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 diff --git a/plugins/log/src/lib.rs b/plugins/log/src/lib.rs index 89ee1ff4..867c5780 100644 --- a/plugins/log/src/lib.rs +++ b/plugins/log/src/lib.rs @@ -264,7 +264,15 @@ impl LoggerBuilder { .into() } LogTarget::LogDir => { - let path = app_handle.path_resolver().log_dir().unwrap(); + let path = app_handle.path_resolver() + + + + + + + + .log_dir().unwrap(); if !path.exists() { fs::create_dir_all(&path).unwrap(); }