This PR was triggered by @t0yv0 generated by the
update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt
repo, from commit
[f19d25e099c54e3ca45528e9e2348cf6873c5534](f19d25e099).
Co-authored-by: Pulumi Bot <bot@pulumi.com>
42 lines
1.1 KiB
YAML
42 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@c6a35e2d7dc8cf1493e7465af7460b4748cd4806
|
|
env:
|
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
|
with:
|
|
version: 2026.3.7
|
|
cache_save: ${{ inputs.cache }}
|
|
github_token: ${{ inputs.github_token }}
|
|
|
|
- name: Setup Go Cache
|
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.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@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # 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
|