From da733e54778e41dbdb03e39139d4a0548d24957b Mon Sep 17 00:00:00 2001 From: Julian Lawrence Date: Mon, 3 Jan 2022 10:12:31 -0800 Subject: [PATCH] ci: Cache tools/ with GitHub Actions (#1043) We run `go mod download` to populate `$GOPATH/pkg` with dependencies, the contents of which are later cached. We did not previously run this for the tools submodule, so those dependencies were not getting cached. --- .github/workflows/go.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0832d2abd..af66dfa0a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -36,7 +36,9 @@ jobs: ${{ runner.os }}-go- - name: Download Dependencies - run: go mod download + run: | + go mod download + cd tools && go mod download - name: Lint if: matrix.latest