Skip to content

Commit

Permalink
chore: migrate to baptiste0928/cargo-install action for installing to…
Browse files Browse the repository at this point in the history
…ols (#639)
  • Loading branch information
hrzlgnm authored Dec 18, 2024
1 parent df89d68 commit d458903
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
},
customManagers: [
{
matchStringsStrategy: "any",
matchStringsStrategy: "all",
customType: "regex",
fileMatch: [
"^\\.github/workflows/.*\\.yml$"
],
matchStrings: [
"tool:\\s*(?<depName>[a-zA-Z0-9_-]+)@(?<currentValue>[0-9\\.]+)"
"crate: \\s*(?<depName>[a-zA-Z0-9_-]+)"
"version: \\s*(?<currentValue>[0-9\\.]+)"
],
depTypeTemplate: "build-dependencies",
datasourceTemplate: "crate",
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/desktop-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d458903

Please sign in to comment.