Files
pulumi-docker-build/.github/actions/setup-tools/action.yml
Pulumi Bot 77b931b32c Update GitHub Actions workflows. (#666)
This PR was automatically generated by the
update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt
repo, from commit ed916848970fd62ea0f62c7e6ac674d4d5ca05ef.
2025-11-14 05:58:25 +00:00

39 lines
1.1 KiB
YAML

name: Setup Tools
description: Installs all tools (Go, Node, Python, .NET, Java, Pulumi, etc.) using mise
inputs:
cache:
description: Enable caching
required: false
default: 'false'
runs:
using: "composite"
steps:
- name: Setup mise
uses: jdx/mise-action@9dc7d5dd454262207dea3ab5a06a3df6afc8ff26 # v3
with:
# Latest working version. See https://github.com/jdx/mise/discussions/6781
version: 2025.10.16
github_token: ${{ github.token }}
cache_key: "mise-{{platform}}-{{file_hash}}"
cache_save: ${{ inputs.cache }}
- name: Setup Go Cache
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
cache: ${{ inputs.cache }}
cache-dependency-path: |
provider/*.sum
upstream/*.sum
sdk/go/*.sum
sdk/*.sum
*.sum
- name: Setup Node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
with:
# we don't set node-version because we install with mise.
# this step is needed to setup npm auth
registry-url: https://registry.npmjs.org