2 files changed,
9 insertions(+),
9 deletions(-)
Author:
Olexandr Smirnov
olexsmir@gmail.com
Committed at:
2025-08-30 16:58:32 +0300
Change ID:
lnlpsqmqxvyulnrxooytsnnqvvvpxqtp
Parent:
92b0ebb
jump to
| M | .github/workflows/tests.yml |
| M | Taskfile.yml |
M
.github/workflows/tests.yml
@@ -53,12 +53,7 @@ ~/go/pkg/mod
key: ${{ runner.os }}-tests-${{ hashFiles('${{ github.workspace }}/.tests') }} - 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 - go install github.com/koron/iferr@latest + run: task install-deps - name: Run Tests run: |
M
Taskfile.yml
@@ -1,17 +1,14 @@
version: "3" tasks: lint: - desc: run all linters cmds: - selene . - stylua --check . format: - desc: run formatter cmd: stylua . test: - desc: run all tests cmds: - | nvim --clean --headless \@@ -27,3 +24,11 @@ nvim --clean --headless \
-u "./scripts/minimal_init.lua" \ -c "luafile ./scripts/docgen.lua" \ -c ":qa!" + + install-deps: + desc: installs go bin (used in CI) + cmds: + - | + nvim --clean --headless \ + -u "./scripts/minimal_init.lua" \ + +GoInstallDepsSync +qa