ci(github): attempt to speed up update workflow with cache

This commit is contained in:
2021-06-29 00:15:07 +01:00
parent 7ac86baf46
commit 73ce60b52a

View File

@@ -42,7 +42,14 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Pre-build emacs-builder tool
- 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: Build emacs-builder tool
if: steps.cache.outputs.cache-hit != 'true'
run: make build
working-directory: builder
- name: Update Cask formulas