From 4971e94cab9de9ecc0e1063010b5b20d347a5ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Fernandes?= Date: Sat, 28 Dec 2024 09:34:21 -0300 Subject: [PATCH] ci(commit): add go cache --- .github/workflows/commit.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 07f592f..059238a 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -9,6 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + key: go-${{ hashFiles('**/go.sum') }} + restore-keys: go- - uses: jdx/mise-action@v2 - run: task up - run: task ci