From 291244b76dc9463e86e49501461424057c92ac65 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 6 Sep 2023 13:41:20 +0530 Subject: [PATCH] workflows: Move actions/checkout before actions/setup-go By placing actions/checkout before actions/setup-go[1] we could avoid the following warning message: Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/go-ceph/go-ceph. Supported file pattern: go.sum [1] https://github.com/actions/setup-go/issues/281 Signed-off-by: Anoop C S --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dcc1eb9..c196610 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,10 +41,10 @@ jobs: needs: go-versions runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: go-version: ${{ needs.go-versions.outputs.latest }} - - uses: actions/checkout@v3 - name: Install revive run: go install github.com/mgechev/revive@latest - name: Run checks