-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/ci: install CUE as part of trybots
For now use a hard-coded version, which will get updated later in this stack to be driven by the top-level project configuration. This also allows us to move away from a hard coded 'go run' verison of CUE, instead relying simply on what is in the PATH. Signed-off-by: Paul Jolly <[email protected]> Change-Id: Idf073cdc32eea6d808cb8301d00dc7d55923e48b Reviewed-on: https://review.gerrithub.io/c/cue-lang/vscode-cue/+/1204119 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,10 @@ jobs: | |
# Dump env for good measure | ||
go env | ||
- name: Install CUE | ||
uses: cue-lang/[email protected] | ||
with: | ||
version: v0.11.0-rc.1 | ||
- id: go-mod-cache-dir | ||
name: Get go mod cache directory | ||
run: echo "dir=$(go env GOMODCACHE)" >> ${GITHUB_OUTPUT} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,8 @@ workflows: trybot: _repo.bashWorkflow & { | |
steps: [ | ||
for v in _repo.checkoutCode {v}, | ||
for v in installGo {v}, | ||
// CUE setup | ||
_installCUE, | ||
|
||
for v in _setupGoActionsCaches {v}, | ||
|
||
|
@@ -85,3 +87,9 @@ workflows: trybot: _repo.bashWorkflow & { | |
] | ||
} | ||
} | ||
|
||
_installCUE: json.#step & { | ||
name: "Install CUE" | ||
uses: "cue-lang/[email protected]" | ||
with: version: "v0.11.0-rc.1" | ||
} |