Skip to content

Commit 4971e94

Browse files
committed
ci(commit): add go cache
1 parent cde9ca6 commit 4971e94

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/commit.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12+
- uses: actions/cache@v4
13+
with:
14+
path: |
15+
~/.cache/go-build
16+
~/go/pkg/mod
17+
key: go-${{ hashFiles('**/go.sum') }}
18+
restore-keys: go-
1219
- uses: jdx/mise-action@v2
1320
- run: task up
1421
- run: task ci

0 commit comments

Comments
 (0)