diff options
author | Christian Segundo | 2024-02-25 22:11:38 +0100 |
---|---|---|
committer | Christian Segundo | 2024-02-25 22:11:38 +0100 |
commit | f13b9e1be5a7c7f2a1c18f3f3d04d419436e7cd7 (patch) | |
tree | f88d819bbced35f66ca736c8666eaac056e25681 | |
parent | 56b2ce8dac32b8d6971505a5da4315f4381544c9 (diff) | |
download | concourse-master.tar.gz |
-rw-r--r-- | tasks/nixpkgs-fmt/task.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tasks/nixpkgs-fmt/task.yml b/tasks/nixpkgs-fmt/task.yml new file mode 100644 index 0000000..f7f04b4 --- /dev/null +++ b/tasks/nixpkgs-fmt/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 + - | + nixpkgs-fmt --check ${FILE_PATH} + +params: + FILE_PATH: file-path |