This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit ad6b9bc68e26fd3eeb270fe212ab46888a1580e3.
40 lines
1.1 KiB
YAML
40 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"
|
|
github_token:
|
|
description: GitHub token
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup mise
|
|
uses: jdx/mise-action@d16887ba50704baed7de72bd1e82e04391e4457a # v3
|
|
with:
|
|
version: 2025.11.6
|
|
cache_save: ${{ inputs.cache }}
|
|
github_token: ${{ inputs.github_token }}
|
|
|
|
- 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
|