.github/workflows: use cache to speed up Windows tests

Fixes #872

Signed-off-by: Alex Brainman <alex.brainman@gmail.com>
This commit is contained in:
Alex Brainman 2020-11-02 18:51:28 +11:00 committed by Brad Fitzpatrick
parent 3b46655dbb
commit 037daad47a

View File

@ -24,6 +24,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Restore Cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test ./...