From b478d051d410ddeedb6203ace427ee6174f7837e Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 10 Jul 2024 12:13:55 -0700 Subject: [PATCH] Add explicit `cache-dependency-path` to `action.yml` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This *should* squash the `Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/xxx/yyy. Supported file pattern: go.sum` note we've been getting on all our builds. 🙃 --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 3233252..b179190 100644 --- a/action.yml +++ b/action.yml @@ -11,6 +11,7 @@ runs: - uses: actions/setup-go@v5 with: go-version-file: '${{ github.action_path }}/go.mod' + cache-dependency-path: '${{ github.action_path }}/go.sum' - run: | '${{ github.action_path }}/bashbrew.sh' --version > /dev/null '${{ github.action_path }}/bin/bashbrew' --version