act: add passthru.tests.version (#356374)
This commit is contained in:
commit
ba80e23a74
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user