From d458903b41c0db6647b3ecb1b6c295444d4fb1ec Mon Sep 17 00:00:00 2001 From: hrzlgnm Date: Wed, 18 Dec 2024 20:04:01 +0100 Subject: [PATCH] chore: migrate to baptiste0928/cargo-install action for installing tools (#639) --- .github/renovate.json5 | 5 +++-- .github/workflows/android.yml | 12 +++++++----- .github/workflows/desktop-tauri.yml | 12 +++++++----- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 043a92e..60e85c7 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -23,13 +23,14 @@ }, customManagers: [ { - matchStringsStrategy: "any", + matchStringsStrategy: "all", customType: "regex", fileMatch: [ "^\\.github/workflows/.*\\.yml$" ], matchStrings: [ - "tool:\\s*(?[a-zA-Z0-9_-]+)@(?[0-9\\.]+)" + "crate: \\s*(?[a-zA-Z0-9_-]+)" + "version: \\s*(?[0-9\\.]+)" ], depTypeTemplate: "build-dependencies", datasourceTemplate: "crate", diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index bfbbc65..aa0fec0 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -48,21 +48,23 @@ jobs: uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3 with: crate: trunk - version: "0.21.5" + version: 0.21.5 locked: true args: --no-default-features features: rustls - name: 📥 Cached install cargo-auditable - uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1 + uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3 with: - tool: cargo-auditable@0.6.6 + crate: cargo-auditable + version: 0.6.6 locked: true - name: 📥 Cached install tauri-cli - uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1 + uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3 with: - tool: tauri-cli@2.1.0 + crate: tauri-cli + version: 2.1.0 locked: true - name: 🔨 Build app bundle diff --git a/.github/workflows/desktop-tauri.yml b/.github/workflows/desktop-tauri.yml index 261c148..c746d12 100644 --- a/.github/workflows/desktop-tauri.yml +++ b/.github/workflows/desktop-tauri.yml @@ -101,21 +101,23 @@ jobs: uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3 with: crate: trunk - version: "0.21.5" + version: 0.21.5 locked: true args: --no-default-features features: rustls - name: 📥 Cached install cargo-auditable - uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1 + uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3 with: - tool: cargo-auditable@0.6.6 + crate: cargo-auditable + version: 0.6.6 locked: true - name: 📥 Cached install tauri-cli - uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1 + uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3 with: - tool: tauri-cli@2.1.0 + crate: tauri-cli + version: 2.1.0 locked: true - name: 🔑 Import windows signing certificate