From b24925a7a768f842de21d148e85cad54a1efeec4 Mon Sep 17 00:00:00 2001 From: Paul Jolly Date: Mon, 19 Aug 2024 19:29:25 +0100 Subject: [PATCH] internal/ci: make steps in trybot workflow clearer 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 Change-Id: I1b5382f71f57a921d9f4a625feb102653718bd78 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1199686 Reviewed-by: Jonathan Matthews TryBot-Result: CUEcueckoo --- .github/workflows/trybot.yml | 8 ++++---- internal/ci/github/trybot.cue | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/trybot.yml b/.github/workflows/trybot.yml index 9c0db4013..c52cc17b7 100644 --- a/.github/workflows/trybot.yml +++ b/.github/workflows/trybot.yml @@ -203,7 +203,7 @@ jobs: run: _scripts/runPreprocessor.bash execute --check - name: Regenerate run: go generate ./... - - name: Regenerate + - name: Regenerate Playground run: go generate ./... working-directory: playground - if: always() @@ -214,17 +214,17 @@ jobs: working-directory: hugo - name: Test run: go test ./... - - name: Test + - name: Test Playground run: go test ./... working-directory: playground - name: staticcheck run: ./_scripts/staticcheck.bash - - name: staticcheck + - name: staticcheck Playground run: ../_scripts/staticcheck.bash working-directory: playground - name: Check module is tidy run: go mod tidy - - name: Check module is tidy + - name: Check Playground module is tidy run: go mod tidy working-directory: playground - name: write $HOME/.config/cue/logins.json diff --git a/internal/ci/github/trybot.cue b/internal/ci/github/trybot.cue index 9420e6fc9..cc48243b7 100644 --- a/internal/ci/github/trybot.cue +++ b/internal/ci/github/trybot.cue @@ -132,7 +132,7 @@ workflows: trybot: _repo.bashWorkflow & { // Go generate steps in playground _goGenerate & { - name: "Regenerate" + name: "Regenerate Playground" "working-directory": "playground" }, @@ -159,7 +159,7 @@ workflows: trybot: _repo.bashWorkflow & { // Go test steps in playground _goTest & { - name: "Test" + name: "Test Playground" "working-directory": "playground" }, @@ -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" }, @@ -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" },