From 9b162b51a638622300a1dec272dbca1cb1591c38 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Sat, 9 Aug 2025 22:24:59 +0200 Subject: [PATCH] rmrf --- .github/workflows/test-rust.yml | 44 +++++++++++++++++---------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index 157c2df72..c21ecf09e 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 }} @@ -199,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 --verbose' + runner: "cross", + command: "build --verbose", } runs-on: ${{ matrix.platform.os }} @@ -254,7 +254,9 @@ jobs: - name: test ${{ matrix.package }} if: matrix.package == 'tauri-plugin-secure-storage' - run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets + run: | + ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets + rm -rf plugins/secure-storage - uses: dtolnay/rust-toolchain@1.77.2 with: