From f169f788d7336df8836e8172ca5513f8d39383ba Mon Sep 17 00:00:00 2001 From: kamuikatsurgi Date: Fri, 28 Feb 2025 12:47:56 +0530 Subject: [PATCH] add cache for windows build --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7030a21d61..dcd5ba2136 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,15 @@ jobs: - name: Install dependencies on Windows run: | - choco install mingw + choco install mingw -y + + - uses: actions/cache@v3 + with: + path: | + ${{ env.USERPROFILE }}\go\pkg\mod + ${{ env.LOCALAPPDATA }}\go-build + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: ${{ runner.os }}-go- - name: Build run: make all