We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c541ec1 commit deb02cbCopy full SHA for deb02cb
.github/workflows/test.yml
@@ -12,6 +12,22 @@ jobs:
12
uses: actions/setup-go@v3
13
with:
14
go-version: ${{ matrix.go-version }}
15
+ - name: Setup Golang caches
16
+ uses: actions/cache@v3
17
+ with:
18
+ # In order:
19
+ # * Module download cache
20
+ # * Build cache (Linux)
21
+ # * Build cache (Mac)
22
+ # * Build cache (Windows)
23
+ path: |
24
+ ~/go/pkg/mod
25
+ ~/.cache/go-build
26
+ ~/Library/Caches/go-build
27
+ ~\AppData\Local\go-build
28
+ key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
29
+ restore-keys: |
30
+ ${{ runner.os }}-go-${{ matrix.go-version }}-
31
- name: Fetch Repository
32
uses: actions/checkout@v3
33
- name: Run Test
0 commit comments