diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a6ac2be..d495213 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,11 +20,18 @@ jobs: id: setup-ndk with: ndk-version: r26d - local-cache: true - name: Setup Go Environment uses: actions/setup-go@master + - name: Cache Downloaded Modules + uses: actions/cache@master + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ matrix.goos }}-${{ matrix.goarch }}-${{ hashFiles('**/go.sum') }} + - name: Test Build env: NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}