chore: modularize .tool-versions (#10919)

Not all tools are needed for all parts of the codebase. In order to avoid installing all tools, we create nested `.tool-versions` files that list the specific dev-tools needed for a certain part of the product.
This commit is contained in:
Thomas Eizinger
2025-11-21 08:28:05 +11:00
committed by GitHub
parent 528db7d9c5
commit 32df4b399a
8 changed files with 21 additions and 18 deletions

View File

@@ -7,6 +7,10 @@ inputs:
runs:
using: "composite"
steps:
- uses: marocchino/tool-versions-action@18a164fa2b0db1cc1edf7305fcb17ace36d1c306 # v1.2.0
with:
path: kotlin/android/.tool-versions
- uses: ./.github/actions/setup-rust
with:
targets: armv7-linux-androideabi aarch64-linux-android x86_64-linux-android i686-linux-android

View File

@@ -17,6 +17,8 @@ runs:
- name: Tool Versions
id: versions
uses: marocchino/tool-versions-action@18a164fa2b0db1cc1edf7305fcb17ace36d1c306 # v1.2.0
with:
path: elixir/.tool-versions
- uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4
id: setup-beam
with:

View File

@@ -67,7 +67,6 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-tags: true # Otherwise we cannot embed the correct version into the build.
- uses: marocchino/tool-versions-action@18a164fa2b0db1cc1edf7305fcb17ace36d1c306 # v1.2.0
- uses: ./.github/actions/setup-android
with:
sccache_azure_connection_string: ${{ secrets.SCCACHE_AZURE_CONNECTION_STRING }}