From 9d5c53299db64c89e3b6df692e48612dcbb75bfd Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Wed, 12 Oct 2022 05:00:34 +0530 Subject: [PATCH] Fix go mod download in checkout action (#1128) * Fix go mod download in checkout * Make CI filechange checker .github/actions Co-authored-by: Keepers --- .github/actions/go-setup-cache/action.yml | 2 +- .github/workflows/_filechange_checker.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/go-setup-cache/action.yml b/.github/actions/go-setup-cache/action.yml index ff0cb2353..6525e80f3 100644 --- a/.github/actions/go-setup-cache/action.yml +++ b/.github/actions/go-setup-cache/action.yml @@ -55,7 +55,7 @@ runs: if: steps.cache.outputs.cache-hit != 'true' # cover all the bases, just to be make sure we loaded everything we'll use run: | - go mod download -v + go mod download -x go build -o compile go test -v -c -o compile_test shell: bash diff --git a/.github/workflows/_filechange_checker.yml b/.github/workflows/_filechange_checker.yml index 273868728..f07dea447 100644 --- a/.github/workflows/_filechange_checker.yml +++ b/.github/workflows/_filechange_checker.yml @@ -35,6 +35,7 @@ jobs: - 'docs/**' actions: - '.github/workflows/**' + - '.github/actions/**' - name: Check dorny for changes in src filepaths id: srcchecker