Skip to content

Commit

Permalink
workflows: Move actions/checkout before actions/setup-go
Browse files Browse the repository at this point in the history
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] actions/setup-go#281

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
  • Loading branch information
anoopcs9 authored and mergify[bot] committed Sep 6, 2023
1 parent 947f937 commit 291244b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 291244b

Please sign in to comment.