gitea-actions-runner: add tests.version
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user