diff --git a/.changes/config.json b/.changes/config.json index 93ed46e3f..9a5085be7 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -78,6 +78,7 @@ "notification", "os", "process", + "secure-storage", "shell", "store", "updater", @@ -104,6 +105,7 @@ "notification-js", "os-js", "process-js", + "secure-storage-js", "shell-js", "store-js", "updater-js" @@ -282,6 +284,14 @@ "path": "./plugins/process", "manager": "javascript" }, + "secure-storage": { + "path": "./plugins/secure-storage", + "manager": "rust" + }, + "secure-storage-js": { + "path": "./plugins/secure-storage", + "manager": "javascript" + }, "shell": { "path": "./plugins/shell", "manager": "rust" diff --git a/.github/workflows/check-generated-files.yml b/.github/workflows/check-generated-files.yml index 6a513b237..9f396bd32 100644 --- a/.github/workflows/check-generated-files.yml +++ b/.github/workflows/check-generated-files.yml @@ -7,9 +7,9 @@ name: check generated files on: pull_request: paths: - - '.github/workflows/check-generated-files.yml' + - ".github/workflows/check-generated-files.yml" - pnpm-lock.yaml - - '**/guest-js/**' + - "**/guest-js/**" concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -101,6 +101,11 @@ jobs: - pnpm-lock.yaml - plugins/process/guest-js/** - plugins/process/src/api-iife.js + secure-storage: + - .github/workflows/check-generated-files.yml + - pnpm-lock.yaml + - plugins/secure-storage/guest-js/** + - plugins/secure-storage/src/api-iife.js shell: - .github/workflows/check-generated-files.yml - pnpm-lock.yaml @@ -164,7 +169,7 @@ jobs: ${{ runner.os }}- - uses: actions/setup-node@v4 with: - node-version: 'lts/*' + node-version: "lts/*" - uses: pnpm/action-setup@v4 with: version: 10.x.x diff --git a/.github/workflows/lint-rust.yml b/.github/workflows/lint-rust.yml index db922ef1a..7a4185c95 100644 --- a/.github/workflows/lint-rust.yml +++ b/.github/workflows/lint-rust.yml @@ -10,19 +10,19 @@ on: - v1 - v2 paths: - - '.github/workflows/lint-rust.yml' - - 'plugins/*/src/**' - - '!plugins/*/src/api-iife.js' - - '**/Cargo.toml' + - ".github/workflows/lint-rust.yml" + - "plugins/*/src/**" + - "!plugins/*/src/api-iife.js" + - "**/Cargo.toml" pull_request: branches: - v1 - v2 paths: - - '.github/workflows/lint-rust.yml' - - 'plugins/*/src/**' - - '!plugins/*/src/api-iife.js' - - '**/Cargo.toml' + - ".github/workflows/lint-rust.yml" + - "plugins/*/src/**" + - "!plugins/*/src/api-iife.js" + - "**/Cargo.toml" concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -98,6 +98,9 @@ jobs: tauri-plugin-process: - .github/workflows/lint-rust.yml - plugins/process/** + tauri-plugin-secure-storage: + - .github/workflows/lint-rust.yml + - plugins/secure-storage/** tauri-plugin-shell: - .github/workflows/lint-rust.yml - plugins/shell/** diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index 496efe6e9..c25479fe4 100644 --- a/.github/workflows/test-rust.yml +++ b/.github/workflows/test-rust.yml @@ -10,21 +10,21 @@ on: - v1 - v2 paths: - - '.github/workflows/test-rust.yml' - - 'plugins/*/src/**' - - '!plugins/*/src/api-iife.js' - - '**/Cargo.toml' - - '**/Cargo.lock' + - ".github/workflows/test-rust.yml" + - "plugins/*/src/**" + - "!plugins/*/src/api-iife.js" + - "**/Cargo.toml" + - "**/Cargo.lock" pull_request: branches: - v1 - v2 paths: - - '.github/workflows/test-rust.yml' - - 'plugins/*/src/**' - - '!plugins/*/src/api-iife.js' - - '**/Cargo.toml' - - '**/Cargo.lock' + - ".github/workflows/test-rust.yml" + - "plugins/*/src/**" + - "!plugins/*/src/api-iife.js" + - "**/Cargo.toml" + - "**/Cargo.lock" concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -137,6 +137,11 @@ jobs: - Cargo.toml - Cargo.lock - plugins/process/** + tauri-plugin-secure-storage: + - .github/workflows/test-rust.yml + - Cargo.toml + - Cargo.lock + - plugins/secure-storage/** tauri-plugin-shell: - .github/workflows/test-rust.yml - Cargo.toml @@ -194,32 +199,32 @@ jobs: - { target: x86_64-pc-windows-msvc, os: windows-latest, - runner: 'cargo', - command: 'test' + runner: "cargo", + command: "test", } - { target: x86_64-unknown-linux-gnu, os: ubuntu-22.04, - runner: 'cargo', - command: 'test' + runner: "cargo", + command: "test", } - { target: aarch64-apple-darwin, os: macos-latest, - runner: 'cargo', - command: 'test' + runner: "cargo", + command: "test", } - { target: aarch64-apple-ios, os: macos-latest, - runner: 'cargo', - command: 'build' + runner: "cargo", + command: "build", } - { target: aarch64-linux-android, os: ubuntu-latest, - runner: 'cross', - command: 'build' + runner: "cross", + command: "build", } runs-on: ${{ matrix.platform.os }}