This commit is contained in:
Oleksandr Smirnov 2025-02-28 15:04:10 +02:00
parent 294da43421
commit 2bb372966b
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View file

@ -48,6 +48,7 @@ jobs:
- name: Install Go bins
run: |
# TODO: install with :GoInstallDeps
go install github.com/fatih/gomodifytags@latest
go install github.com/josharian/impl@latest
go install github.com/cweill/gotests/...@latest

View file

@ -40,13 +40,11 @@ end
---@param sync? boolean
function installer.install_deps(sync)
sync = sync or false
for pkg, _ in pairs(urls) do
local url = urls[pkg] .. "@latest"
if sync then
install_sync(url)
install_sync(urls[pkg] .. "@latest")
else
install(url)
install(urls[pkg] .. "@latest")
end
end
end