diff options
author | Christian Segundo | 2024-02-25 22:04:03 +0100 |
---|---|---|
committer | Christian Segundo | 2024-02-25 22:07:29 +0100 |
commit | 56b2ce8dac32b8d6971505a5da4315f4381544c9 (patch) | |
tree | f1bfcd29086a1a95c0b4dc94a1d80013b8a1dd88 /tasks/statix/task.yml | |
parent | 518a4d122887a67ad1d948e3a32be4c71c0d9790 (diff) | |
download | concourse-56b2ce8dac32b8d6971505a5da4315f4381544c9.tar.gz |
add statix
Diffstat (limited to 'tasks/statix/task.yml')
-rw-r--r-- | tasks/statix/task.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tasks/statix/task.yml b/tasks/statix/task.yml new file mode 100644 index 0000000..2d907e1 --- /dev/null +++ b/tasks/statix/task.yml @@ -0,0 +1,22 @@ +--- +platform: linux +image_resource: + type: registry-image + source: + repository: docker.io/chn2guevara/nixci + tag: latest + +inputs: + - name: file-path + +run: + path: bash + args: + - -eufo + - pipefail + - -c + - | + statix check ${FILE_PATH} + +params: + FILE_PATH: file-path |