Skip to content

Commit

Permalink
internal/ci: make steps in trybot workflow clearer
Browse files Browse the repository at this point in the history
Distinguish between what is a playground-based step vs a top-level, by
adding "Playground" to the name of steps which have a working directory
of the playground.

Fixes cue-lang/cue#3366.

Signed-off-by: Paul Jolly <[email protected]>
Change-Id: I1b5382f71f57a921d9f4a625feb102653718bd78
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1199686
Reviewed-by: Jonathan Matthews <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
  • Loading branch information
myitcv committed Aug 20, 2024
1 parent 5b88121 commit b24925a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/trybot.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions internal/ci/github/trybot.cue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ workflows: trybot: _repo.bashWorkflow & {

// Go generate steps in playground
_goGenerate & {
name: "Regenerate"
name: "Regenerate Playground"
"working-directory": "playground"
},

Expand All @@ -159,7 +159,7 @@ workflows: trybot: _repo.bashWorkflow & {

// Go test steps in playground
_goTest & {
name: "Test"
name: "Test Playground"
"working-directory": "playground"
},

Expand All @@ -171,7 +171,7 @@ workflows: trybot: _repo.bashWorkflow & {

// Run staticcheck in playground
json.#step & {
name: "staticcheck"
name: "staticcheck Playground"
run: "../_scripts/staticcheck.bash"
"working-directory": "playground"
},
Expand All @@ -183,7 +183,7 @@ workflows: trybot: _repo.bashWorkflow & {

// go mod tidy playground
_modTidy & {
name: "Check module is tidy"
name: "Check Playground module is tidy"
"working-directory": "playground"
},

Expand Down

0 comments on commit b24925a

Please sign in to comment.