From 8157789e661c643fd42ee4a064ed4eadf7f9954b Mon Sep 17 00:00:00 2001 From: marcusDenslow Date: Mon, 13 Apr 2026 14:48:20 +0200 Subject: [PATCH] update: some updates to the deploy action --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d0b5e5b..e3b7984 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,14 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '1.23' + - name: Cache Go modules + uses: actions/cache@v4 + with: + path: | + ~/go/pkg/mod + ~/.cache/go-build + key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} + restore-keys: ${{ runner.os }}-go- - name: Run tests run: go test ./... - name: Deploy to server