act: add passthru.tests.version (#356374)

This commit is contained in:
Aleksana 2024-11-29 17:10:16 +08:00 committed by GitHub
commit ba80e23a74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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";