act: add passthru.tests.version

This commit is contained in:
Kenichi Kamiya 2024-11-16 14:44:33 +09:00
parent e23fa8bc2c
commit 500c708ba6
No known key found for this signature in database
GPG Key ID: 9BE4016A38165CCB

View File

@ -2,6 +2,8 @@
lib,
fetchFromGitHub,
buildGoModule,
testers,
act,
}:
let
@ -28,6 +30,10 @@ buildGoModule {
"-X main.version=${version}"
];
passthru.tests.version = testers.testVersion {
package = act;
};
meta = {
description = "Run your GitHub Actions locally";
mainProgram = "act";