From eac0b972a9a8a4f405c58558cb1a95614c7e8c14 Mon Sep 17 00:00:00 2001 From: Zygimantas <5236121+Zygimantass@users.noreply.github.com> Date: Fri, 22 Dec 2023 00:01:56 +0100 Subject: [PATCH] fix: golint --- .github/workflows/lint.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9a9161f..dcf6ee0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,10 +20,13 @@ jobs: with: go-version: 1.21.3 - uses: actions/checkout@v4 + - name: initialize workspace + run: | + go work init ||; - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version version: latest only-new-issues: true - args: --timeout=5m \ No newline at end of file + args: --timeout=5m