Skip to content

Commit

Permalink
ci: Cache tools/ with GitHub Actions (#1043)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jklaw90 authored Jan 3, 2022
1 parent 369c1bd commit da733e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da733e5

Please sign in to comment.