mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
act: add passthru.tests.version
This commit is contained in:
parent
e23fa8bc2c
commit
500c708ba6
@ -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