The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

go: cache modules

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso ade22021 6162780d

+10 -5
+10 -5
.github/workflows/go.yml
··· 20 20 run: | 21 21 brew bundle 22 22 23 + - name: Setup Golang caches 24 + uses: actions/cache@v4 25 + with: 26 + path: | 27 + ~/.cache/go-build 28 + ~/go/pkg/mod 29 + key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }} 30 + restore-keys: | 31 + ${{ runner.os }}-golang- 32 + 23 33 - name: cache deno.land dependencies 24 34 uses: actions/cache@v2 25 35 with: ··· 33 43 34 44 - name: Test 35 45 run: go test -v ./... 36 - 37 - - name: Ensure generated code is up to date 38 - run: | 39 - go generate ./... 40 - git diff --exit-code || echo "The current tree is dirty, run 'go generate ./...' to fix it"