Skip to content

Commit bdab4b2

Browse files
committed
internal/ci: cue fmt
Format the CUE files in internal/ci with `cue fmt ./...`. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I84eba3d419cd89e5a08d79011aa33f9bbc1df2ad Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202052 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent 20d6573 commit bdab4b2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

internal/ci/base/helpers.cue

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
_matchPattern: {
1515
variable: string
1616
pattern: string
17-
expr: [
18-
if strings.HasSuffix(pattern, "*") {
17+
expr: [
18+
if strings.HasSuffix(pattern, "*") {
1919
let prefix = strings.TrimSuffix(pattern, "*")
2020
"startsWith(\(variable), '\(prefix)')"
2121
},

internal/ci/github/release.cue

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ workflows: release: _repo.bashWorkflow & {
8484
// is defined with the release command in CUE.
8585
name: "Run GoReleaser with CUE"
8686
env: GITHUB_TOKEN: "${{ secrets.CUECKOO_GITHUB_PAT }}"
87-
_run: "cue cmd release"
87+
_run: "cue cmd release"
8888
"working-directory": "./internal/ci/goreleaser"
8989
},
9090
_repo.repositoryDispatch & {

internal/ci/github/trybot.cue

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ workflows: trybot: _repo.bashWorkflow & {
110110

111111
_goGenerate: _registryReadOnlyAccessStep & {
112112
name: "Generate"
113-
_run: "go generate ./..."
113+
_run: "go generate ./..."
114114
// The Go version corresponds to the precise version specified in
115115
// the matrix. Skip windows for now until we work out why re-gen is flaky
116116
if: _isLatestLinux

internal/ci/goreleaser/goreleaser.cue

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package goreleaser
33
config: {
44
#latest: bool @tag(latest, type=bool)
55

6-
version: 2
6+
version: 2
77
project_name: "cue"
88
// Note that gomod.proxy is ignored by `goreleaser release --snapshot`,
99
// which we use in CI to test the goreleaser config and build,
@@ -68,7 +68,7 @@ config: {
6868
// For those reasons, let goreleaser create the release, but leaving it as a draft.
6969
draft: true
7070
}
71-
checksum: name_template: "checksums.txt"
71+
checksum: name_template: "checksums.txt"
7272
snapshot: version_template: "{{ .Tag }}-next"
7373
// As explained above, we write our own release notes.
7474
changelog: disable: true

0 commit comments

Comments
 (0)