gitea-actions-runner: add tests.version

This commit is contained in:
Ilan Joselevich
2023-07-16 16:44:57 +03:00
parent 6611b19d30
commit 1c5c4ae3dc
@@ -1,6 +1,8 @@
{ lib
, fetchFromGitea
, buildGoModule
, testers
, gitea-actions-runner
}:
buildGoModule rec {
@@ -23,6 +25,11 @@ buildGoModule rec {
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=v${version}"
];
passthru.tests.version = testers.testVersion {
package = gitea-actions-runner;
version = "v${version}";
};
meta = with lib; {
mainProgram = "act_runner";
maintainers = with maintainers; [ techknowlogick ];