ci: fix CUE linter

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2022-04-12 16:28:43 -07:00
parent 387e540114
commit 2bb6445e56
6 changed files with 16 additions and 19 deletions

View File

@@ -7,13 +7,13 @@ import (
// Checks lua format via Stylua
#StyluaCheck: {
// Files to Copy
source: dagger.#FS
// Files to Copy
source: dagger.#FS
// Any extra formatting args
extraArgs: [...string]
// Any extra formatting args
extraArgs: [...string]
_run: docker.#Build & {
_run: docker.#Build & {
steps: [
docker.#Pull & {
source: "rust:latest"

View File

@@ -8,12 +8,7 @@ import (
dagger.#Plan & {
client: filesystem: "./data/hello": read: contents: dagger.#FS
actions: test: {
simple: {
fmtCheck: lua.#StyluaCheck & {
source: client.filesystem."./data/hello".read.contents
}
}
actions: test: simple: fmtCheck: lua.#StyluaCheck & {
source: client.filesystem."./data/hello".read.contents
}
}