-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (31 loc) · 959 Bytes
/
cache-tools-reusable.yml
File metadata and controls
38 lines (31 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2026 hrzlgnm
# SPDX-License-Identifier: MIT-0
name: "Reusable cache tools for release workflow"
on:
workflow_call:
workflow_dispatch:
jobs:
cache-tools:
runs-on: ubuntu-latest
steps:
- name: 🔄 Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 1
- name: 🦀🚀
uses: ./.github/actions/setup-rust-cache
with:
save-cache: false
# Ensure tools used in release workflow are in the cache
- name: 🔧 Install cargo-edit
uses: baptiste0928/cargo-install@f204293d9709061b7bc1756fec3ec4e2cd57dec0 # v3
with:
crate: cargo-edit
version: 0.13.9
locked: true
- name: 🔧 Install komac
uses: baptiste0928/cargo-install@f204293d9709061b7bc1756fec3ec4e2cd57dec0 # v3
with:
crate: komac
version: 2.15.0
locked: true