From 648b8e97b2d545559b3e5631f9cc800590863a30 Mon Sep 17 00:00:00 2001 From: Tom - Henry Coursow Date: Sun, 25 May 2025 15:49:37 +0200 Subject: [PATCH] .gitea/workflows/build.yml aktualisiert --- .gitea/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4b8df29..5433fef 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -35,18 +35,24 @@ jobs: uses: actions/setup-node@v3 with: node-version: '18' - - uses: KEINOS/gh-action-hash-for-cache@v2.0.0-alpha + - uses: actions/setup-go@v3 + with: + go-version: '>=1.20.1' + - uses: https://gitea.com/actions/go-hashfiles@v0.0.1 id: get-cache-hash with: - path: | + patterns: |- package-lock.json - name: Show key future key value run: echo "deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}" - name: Setup Chache - uses: https://github.com/actions/cache@v3 + id: cache-modules + uses: actions/cache@v3 with: path: ~/.npm key: deps-node-modules-${{ steps.get-cache-hash.outputs.hash }} + - name: Check Cache Hit + run: echo "Hit Cache: ${{ cache-modules.outputs.cache-hit }}" - name: Install Dependencies run: npm ci - name: Run Tests