From 221dbecf14c132deb437cbf2a16b6c29e008650e Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Thu, 11 Sep 2025 08:36:51 +0500 Subject: [PATCH] Moar CI debugging! --- .gitea/workflows/on-push.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/on-push.yml b/.gitea/workflows/on-push.yml index e700c4f..59d049c 100644 --- a/.gitea/workflows/on-push.yml +++ b/.gitea/workflows/on-push.yml @@ -10,20 +10,22 @@ jobs: steps: - name: "checkout source" uses: actions/checkout@v4 - - name: "restore cache with go things" - uses: actions/cache/restore@v4 + - uses: https://gitea.com/actions/go-hashfiles@v0.0.1 + id: hash-go + with: + patterns: | + go.mod + go.sum + - name: "cache with go things" + uses: actions/cache@v4 with: path: /home/container - key: bunker-go-cache + key: bunker-go-cache-${{ steps.hash-go.outputs.hash }} + restore-keys: bunker-go-cache-${{ steps.hash-go.outputs.hash }} - name: "lint" uses: docker://code.pztrn.name/containers/go-toolbox:v8 with: command: "/usr/local/bin/task lint" - - name: "save cache with go things" - uses: actions/cache/save@v4 - with: - path: /home/container - key: bunker-go-cache # Tests: # runs-on: "ubuntu-22.04"