ci: fix CUE linter
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
@@ -12,14 +12,14 @@ dagger.#Plan & {
|
||||
|
||||
// Run with a custom path to python
|
||||
customPath: {
|
||||
|
||||
|
||||
// python:3.10-alpine has both python3 and python in the PATH
|
||||
_image: docker.#Pull & {
|
||||
source: "python:3.10-alpine"
|
||||
}
|
||||
run: python.#Run & {
|
||||
input: _image.output
|
||||
command: name: "python"
|
||||
command: name: "python"
|
||||
script: contents: #"print("Hello, world!")"#
|
||||
}
|
||||
// This needs no output test because it is only testing that the command runs
|
||||
|
@@ -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"
|
||||
|
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user