Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
cargo-cache:
required: false
default: true
description: "Cache Cargo registry, index, git DB, and ~/.cargo/bin. Enabled automatically if any Rust tools are requested."
description: "Cache Cargo registry, index, and git DB. Enabled automatically if any Rust tools are requested."

mold:
required: false
Expand Down Expand Up @@ -124,12 +124,11 @@ runs:
EOF
shell: bash

- name: Cache Cargo registry + index
- name: Cache Cargo registry, index, and git DB
if: ${{ inputs.cargo-cache == 'true' || env.NEEDS_RUST == 'true' }}
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
Expand Down Expand Up @@ -210,6 +209,24 @@ runs:
if: ${{ inputs.vdev == 'true' }}
uses: ./.github/actions/install-vdev

- name: Cache prepare.sh binaries
id: cache-prepare-binaries
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: |
~/.cargo/bin/cargo-deb
~/.cargo/bin/cross
~/.cargo/bin/cargo-nextest
~/.cargo/bin/cargo-deny
~/.cargo/bin/cargo-msrv
~/.cargo/bin/dd-rust-license-tool
~/.cargo/bin/wasm-pack
/usr/local/bin/markdownlint
/usr/local/bin/datadog-ci
key: ${{ runner.os }}-prepare-binaries-${{ hashFiles('scripts/environment/*') }}
restore-keys: |
${{ runner.os }}-prepare-binaries-

- name: Run prepare.sh
shell: bash
run: |
Expand Down
Loading