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