From d5d705cb4d4eb8f505b01c4fad975c88ee046b95 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Fri, 30 Oct 2026 06:45:29 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .config/mise.toml | 16 ++++++++++++++++ .github/workflows/build_provider.yml | 4 +++- .github/workflows/build_sdk.yml | 4 +++- .github/workflows/license.yml | 4 +++- .github/workflows/lint.yml | 4 +++- .github/workflows/main-post-build.yml | 4 +++- .github/workflows/master.yml | 2 +- .github/workflows/prerequisites.yml | 4 +++- .github/workflows/publish.yml | 8 ++++++-- .github/workflows/run-acceptance-tests.yml | 10 +++++++--- .github/workflows/test.yml | 4 +++- .github/workflows/upgrade-bridge.yml | 4 +++- .github/workflows/upgrade-provider.yml | 4 +++- .github/workflows/verify-release.yml | 4 +++- 14 files changed, 60 insertions(+), 16 deletions(-) diff --git a/.config/mise.toml b/.config/mise.toml index 59691136..75343b39 100644 --- a/.config/mise.toml +++ b/.config/mise.toml @@ -24,6 +24,22 @@ java = 'corretto-11' golangci-lint = "2.15.0" # See note about about overrides if you need to customize this. "npm:yarn" = "1.22.22" +[hooks] +# Also install project dependencies during local setup. CI runs this explicitly +# after mise-action because hook failures only produce warnings. +postinstall = "mise deps install" + +[deps.pulumi-java] +# Let the selected CLI choose Java's version. With no sources or outputs this +# also checks warm caches, without running before every mise exec or mise run. +# Older CLIs bundle Java and reject installing it as a language plugin. +run = ''' +version=$(pulumi version) || exit $? +if printf '%s\n' "$version" | awk -F '[.-]' '{ sub(/^v/, "", $1); exit !($1 > 3 || ($1 == 3 && ($2 > 269 || ($2 == 269 && $3 >= 0)))) }'; then + pulumi plugin install language java +fi +''' + [settings] experimental = true # Required for Go binaries (e.g. pulumictl). lockfile = false diff --git a/.github/workflows/build_provider.yml b/.github/workflows/build_provider.yml index dab67755..5ed09051 100644 --- a/.github/workflows/build_provider.yml +++ b/.github/workflows/build_provider.yml @@ -72,10 +72,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: false + - name: Install project dependencies + run: mise deps install # Based on https://github.com/actions/cache/blob/main/examples.md#go---modules - name: Get GOCACHE id: gocache diff --git a/.github/workflows/build_sdk.yml b/.github/workflows/build_sdk.yml index 740bbd59..1463658f 100644 --- a/.github/workflows/build_sdk.yml +++ b/.github/workflows/build_sdk.yml @@ -74,10 +74,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: false + - name: Install project dependencies + run: mise deps install - name: Setup Go Cache if: matrix.language == 'go' || contains(matrix.language, 'go') uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7 diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index 69ebc05c..51866d61 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -54,10 +54,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: false + - name: Install project dependencies + run: mise deps install - run: make prepare_local_workspace continue-on-error: true env: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9dac11f0..97a496fe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -54,9 +54,11 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} cache_save: false # A different job handles caching our tools. + - name: Install project dependencies + run: mise deps install - name: prepare workspace continue-on-error: true run: make prepare_local_workspace diff --git a/.github/workflows/main-post-build.yml b/.github/workflows/main-post-build.yml index 71be2e96..9c97e02d 100644 --- a/.github/workflows/main-post-build.yml +++ b/.github/workflows/main-post-build.yml @@ -68,10 +68,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: false + - name: Install project dependencies + run: mise deps install - name: Setup Go Cache uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7 with: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a26df739..b0284a4e 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -58,7 +58,7 @@ jobs: version: ${{ needs.prerequisites.outputs.version }} languages: '["nodejs","python","dotnet","go","java"]' runs-on: ubuntu-latest - mise-version: 2026.3.7 + mise-version: 2026.10.21 checkout-submodules: 'false' post_build: diff --git a/.github/workflows/prerequisites.yml b/.github/workflows/prerequisites.yml index e2fcf5b4..b51177ec 100644 --- a/.github/workflows/prerequisites.yml +++ b/.github/workflows/prerequisites.yml @@ -84,10 +84,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: true + - name: Install project dependencies + run: mise deps install - name: Setup Go Cache if: inputs.acceptance_fanout uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 715efc72..83e2b331 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -72,9 +72,11 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} cache_save: false + - name: Install project dependencies + run: mise deps install - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0 with: @@ -173,10 +175,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: false + - name: Install project dependencies + run: mise deps install - name: Setup Node uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7 with: diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 31b86a72..ce2c46bf 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -102,9 +102,11 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} cache_save: false + - name: Install project dependencies + run: mise deps install - name: Restore Go Cache uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: @@ -172,9 +174,11 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} cache_save: false + - name: Install project dependencies + run: mise deps install - name: Restore Go Cache uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 with: @@ -258,7 +262,7 @@ jobs: version: ${{ needs.prerequisites.outputs.version }} languages: '["nodejs","python","dotnet","go","java"]' runs-on: ubuntu-latest - mise-version: 2026.3.7 + mise-version: 2026.10.21 checkout-submodules: 'false' comment-notification: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 598f689d..0e9fc333 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,10 +70,12 @@ jobs: MISE_ENV: test MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # also save this cache since we are using a different mise env. cache_save: true + - name: Install project dependencies + run: mise deps install - name: Prepare local workspace run: make prepare_local_workspace env: diff --git a/.github/workflows/upgrade-bridge.yml b/.github/workflows/upgrade-bridge.yml index fb084922..a668f408 100644 --- a/.github/workflows/upgrade-bridge.yml +++ b/.github/workflows/upgrade-bridge.yml @@ -105,10 +105,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: false + - name: Install project dependencies + run: mise deps install - name: Call upgrade provider action if: github.event_name == 'workflow_dispatch' uses: pulumi/pulumi-upgrade-provider-action@12996503de2aaddd72c7426efc43331a8970894f # v0.0.19 diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml index a524c831..98d5a254 100644 --- a/.github/workflows/upgrade-provider.yml +++ b/.github/workflows/upgrade-provider.yml @@ -72,10 +72,12 @@ jobs: env: MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ steps.app-auth.outputs.token }} # only saving the cache in the prerequisites job cache_save: false + - name: Install project dependencies + run: mise deps install - name: Install upgrade-provider run: go install github.com/pulumi/upgrade-provider@${{ inputs.upgradeProviderVersion || 'main' }} shell: bash diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml index 02ea8629..98355833 100644 --- a/.github/workflows/verify-release.yml +++ b/.github/workflows/verify-release.yml @@ -85,9 +85,11 @@ jobs: - name: Setup mise uses: jdx/mise-action@8d3b0ba20a9cea7b883d922ea958553c941ab082 with: - version: 2026.3.7 + version: 2026.10.21 github_token: ${{ secrets.GITHUB_TOKEN }} cache_save: false + - name: Install project dependencies + run: mise deps install - name: Setup Go Cache uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7 with: