Merge pull request #243539 from Kranzes/gitea-runner

gitea-actions-runner: 0.1.8 -> 0.2.3

authored by Sandro and committed by GitHub a5065ffc 584f1323

+11 -4
+11 -4
pkgs/development/tools/continuous-integration/gitea-actions-runner/default.nix
··· 1 1 { lib 2 2 , fetchFromGitea 3 3 , buildGoModule 4 + , testers 5 + , gitea-actions-runner 4 6 }: 5 7 6 8 buildGoModule rec { 7 9 pname = "gitea-actions-runner"; 8 - version = "0.1.8"; 10 + version = "0.2.3"; 9 11 10 12 src = fetchFromGitea { 11 13 domain = "gitea.com"; 12 14 owner = "gitea"; 13 15 repo = "act_runner"; 14 16 rev = "v${version}"; 15 - hash = "sha256-J67g0jy/5Dfmvu3bSPqH+r9+MuLyl2lZyEZrOovfNJI="; 17 + hash = "sha256-RNH/12XV07nWhGnmR4FKJSSK/KnLA76+pKFHTPG8AAk="; 16 18 }; 17 19 18 - vendorHash = "sha256-Ik4n1oB6MWE2djcM5CdDhJKx4IJsZu7eJr5St+T67B4="; 20 + vendorHash = "sha256-VS1CIxV0e01h5L1UA4p8R1Z28yLOEZTMxS+gbEaJwKs="; 19 21 20 22 ldflags = [ 21 23 "-s" 22 24 "-w" 23 - "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${version}" 25 + "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=v${version}" 24 26 ]; 27 + 28 + passthru.tests.version = testers.testVersion { 29 + package = gitea-actions-runner; 30 + version = "v${version}"; 31 + }; 25 32 26 33 meta = with lib; { 27 34 mainProgram = "act_runner";