From 0f1610a785405d488015f93d8c0e9c58b2b3acaa Mon Sep 17 00:00:00 2001 From: Christoph Pirkl Date: Mon, 23 Oct 2023 15:31:07 +0200 Subject: [PATCH] #479: Remove "Cache go-licenses" step --- .../.github/workflows/project-keeper-verify.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/project-keeper/src/main/resources/non_maven_templates/.github/workflows/project-keeper-verify.yml b/project-keeper/src/main/resources/non_maven_templates/.github/workflows/project-keeper-verify.yml index 64ecbda4..1ab8ea5a 100644 --- a/project-keeper/src/main/resources/non_maven_templates/.github/workflows/project-keeper-verify.yml +++ b/project-keeper/src/main/resources/non_maven_templates/.github/workflows/project-keeper-verify.yml @@ -28,6 +28,10 @@ jobs: uses: actions/setup-go@v4 with: go-version: "1.20" + cache-dependency-path: | + go.sum + .github/workflows/project-keeper-verify.yml + .github/workflows/project-keeper.sh $npmSetup @@ -39,16 +43,5 @@ $npmSetup restore-keys: | ${{ runner.os }}-pk- - - name: Cache go-licenses - uses: actions/cache@v3 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-go-licenses-${{ hashFiles('.github/workflows/project-keeper-verify.yml') }} - restore-keys: | - ${{ runner.os }}-go-licenses-${{ hashFiles('.github/workflows/project-keeper-verify.yml') }} - ${{ runner.os }}-go-licenses- - - name: Project Keeper Verify run: ./.github/workflows/project-keeper.sh