mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 13:43:50 +00:00
act: add passthru.tests.version (#356374)
This commit is contained in:
commit
ba80e23a74
@ -2,6 +2,8 @@
|
|||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
|
testers,
|
||||||
|
act,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -28,6 +30,10 @@ buildGoModule {
|
|||||||
"-X main.version=${version}"
|
"-X main.version=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = act;
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Run your GitHub Actions locally";
|
description = "Run your GitHub Actions locally";
|
||||||
mainProgram = "act";
|
mainProgram = "act";
|
||||||
|
Loading…
Reference in New Issue
Block a user