pulumi/.github/workflows
Thomas Gummerer 8eb8a673b1
properly check if the cache is primed (#15723)
Before every CI job we currently check whether the Go cache is primed,
and if not compile all the tests to prime it. However that check is
currently wrong. `steps.setup-go.outputs.cache-hit` is a boolean
variable, however we compare it against a string 'true'. Since we are
comparing for inequality, this check is always true, so we are always
priming the cache, even if it is already primed.

Fix this check, so we can only prime the cache when it needs to be and
don't waste extra CI time to prime the cache when it already might be.

h/t again to @iamricard for noticing that we are taking a long time to
prime the cache in some cases.
2024-03-18 14:04:12 +00:00
..
ci-build-binaries.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
ci-build-sdks.yml [ci] Install `setuptools` in virtual environment (#15220) 2024-01-23 22:46:13 +00:00
ci-dev-release.yml fix diff check for releasing dev SDKs (#15523) 2024-02-27 13:27:10 +00:00
ci-info.yml ci: Update post-release PR to align with release process 2022-10-18 22:45:59 -07:00
ci-lint.yml Update golangci-lint (#14624) 2023-11-21 15:16:13 +00:00
ci-prepare-release.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
ci-run-test.yml properly check if the cache is primed (#15723) 2024-03-18 14:04:12 +00:00
ci-test-docs-generation.yml ci: Use the latest version of setup-dotnet (#15466) 2024-02-20 12:20:04 +00:00
ci.yml ci: Fix PR workflow errors (#15577) 2024-03-02 21:14:07 +00:00
command-dispatch.yml ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
cron-direct-build.yml Add simple Go test with GOPROXY=direct (#14818) 2023-12-12 08:38:29 +00:00
download-pulumi-cron.yml Fix Homebrew install test (#14082) 2023-10-02 18:42:58 +00:00
on-community-pr.yml ci: fix community contributor workflows 2022-09-21 17:39:15 -07:00
on-merge.yml do dev releases post merge (#15720) 2024-03-18 09:56:10 +00:00
on-pr-changelog.yml ci: fix community contributor workflows 2022-09-21 17:39:15 -07:00
on-pr-close.yml [ci] Add downstream codegen tests back (#14582) 2023-11-28 15:15:20 +00:00
on-pr-default.yml Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00
on-pr.yml Revert "push post-release changelog and go.mod updates straight to master" (#15555) 2024-03-01 13:31:16 +00:00
on-push.yml do dev releases post merge (#15720) 2024-03-18 09:56:10 +00:00
on-release.yml Revert "push post-release changelog and go.mod updates straight to master" (#15555) 2024-03-01 13:31:16 +00:00
pr-test-acceptance-on-dispatch.yml pass in AZURE_STORAGE_SAS_TOKEN when dispatching tests (#15608) 2024-03-06 19:27:50 +00:00
pr-test-codegen-downstream.yml Add a title prefix to downstream test PRs (#15585) 2024-03-04 16:24:05 +00:00
pr-test-docs-gen-on-pr.yml ci: Clean up excess permissions, fix acceptance tests job 2022-09-15 17:48:16 -07:00
pr-test-docs-generation-on-dispatch.yml Replace deprecated command with environment file 2023-02-20 11:14:39 +09:00
rebase.yml ci/rebase: Run for members and owners 2023-02-19 18:18:06 -08:00
release-homebrew-tap.yml ci: Enable gh cli in every step of job 2022-10-04 23:23:43 -07:00
release-pr.yml tag pkg automatically again (#15629) 2024-03-11 08:45:15 +00:00
release.pub ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
release.yml Revert "Temporary changes to unblock v3.108.1 release" (#15572) 2024-03-02 09:01:28 +00:00
sign.yml create CI job to upload dev artifacts to S3 (#14640) 2023-12-13 17:25:14 +00:00
trigger-homebrew-event.yml [ci] More fixes for the homebrew release job (#14482) 2023-11-03 02:15:57 +00:00
trigger-release-docs-event.yml Enable command dispatch workflow for dealing with PRs (#5851) 2020-12-07 19:29:04 +00:00