From 037daad47a030b1e3cc77660bae104a444267666 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Mon, 2 Nov 2020 18:51:28 +1100 Subject: [PATCH] =?UTF-8?q?.github/workflows:=20use=20cache=20to=20speed?= =?UTF-8?q?=20up=20Windows=C2=A0tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #872 Signed-off-by: Alex Brainman --- .github/workflows/windows.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c2b55814e..de0cdbe60 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 ./...