pulumi/.github/workflows
Julien P bea5c00885
Move .version to /sdk and embed it (#15185)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

go:embed can not traverse paths upwards, move .version so we can embed
it. This enables us to have the version available outside of binary
builds (where we use linker flags to embed the version in
sdk/go/common/version/version.go).

This is useful for automation API, where we want to have the current
version available to us, but don't want to force consumers of the API to
build and test with linker flags.

Blocking for https://github.com/pulumi/pulumi/pull/15049

## Checklist

- [ ] I have run `make tidy` to update any new dependencies
- [ ] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`
2024-01-19 14:11:17 +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: Node 14 => Node 16 2023-05-09 17:02:08 -04:00
ci-dev-release.yml make sure to also upload zip files (#14985) 2023-12-22 08:23:58 +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 show test command in test name (#15052) 2024-01-04 18:12:29 +00:00
ci-test-docs-generation.yml use v3 of setup-dotnet instead of a specific SHA (#14156) 2023-10-11 08:55:21 +00:00
ci.yml define necessary secret in ci.yml (#15178) 2024-01-18 19:49:30 +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 strip the v prefix from the latest-dev-version file (#14867) 2023-12-19 16:59:15 +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 Move .version to /sdk and embed it (#15185) 2024-01-19 14:11:17 +00:00
on-release.yml ci: Update post-release PR to align with release process 2022-10-18 22:45:59 -07:00
pr-test-acceptance-on-dispatch.yml set up secrets in acceptance test job (#15175) 2024-01-18 14:40:31 +00:00
pr-test-codegen-downstream.yml [ci] Add downstream codegen tests back (#14582) 2023-11-28 15:15:20 +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 ci: Add required `--squash` flag to `gh pr merge` (#13905) 2023-09-09 17:52:12 +00:00
release.pub ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
release.yml Revert temporary workflow changes (#15058) 2024-01-05 02:04:18 +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