mirror of
https://github.com/ceph/go-ceph
synced 2024-12-26 08:02:31 +00:00
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 <anoopcs@cryptolab.net>
This commit is contained in:
parent
947f937cab
commit
291244b76d
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user