From 13059c2177ca8660b99f6cd6406b4cbe28b9700a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Zamanillo?= Date: Fri, 25 Sep 2020 13:58:13 +0200 Subject: [PATCH] Fix CI We need to set the working directory to allow golangci-lint to resolve go modules. --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 615967c..93466da 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,6 +18,7 @@ jobs: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: v1.29 args: --timeout 5m + working-directory: v2/cmd/subfinder/ # Optional: working directory, useful for monorepos # working-directory: somedir