summaryrefslogtreecommitdiff
path: root/checks/actionlint/package.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-04-30 04:07:12 -0400
committerseth <[email protected]>2024-04-30 04:07:12 -0400
commita711dab545e8b964914ac01ed06971a5a37ae22b (patch)
tree2790e4bfbb12a9e64bfa95f9d3759e9fca1dc8f7 /checks/actionlint/package.nix
init
Diffstat (limited to 'checks/actionlint/package.nix')
-rw-r--r--checks/actionlint/package.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/checks/actionlint/package.nix b/checks/actionlint/package.nix
new file mode 100644
index 0000000..561f826
--- /dev/null
+++ b/checks/actionlint/package.nix
@@ -0,0 +1,10 @@
+{
+ lib,
+ runCommand,
+ root,
+ actionlint,
+}:
+runCommand "check-actionlint" {} ''
+ ${lib.getExe actionlint} ${root}/.github/workflows/*
+ touch $out
+''