ci(github): cache god modules to speed up emacs-builder compile time

This commit is contained in:
2021-06-29 00:27:38 +01:00
parent 72fc6962a7
commit 832a6ffe75
2 changed files with 12 additions and 0 deletions

View File

@@ -45,6 +45,12 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.16
- uses: actions/cache@v2
id: builder-cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('builder/**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Pre-build emacs-builder tool
run: make build
working-directory: builder