mirror of
https://github.com/ceph/go-ceph
synced 2024-12-26 16:12:45 +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
|
needs: go-versions
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ needs.go-versions.outputs.latest }}
|
go-version: ${{ needs.go-versions.outputs.latest }}
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Install revive
|
- name: Install revive
|
||||||
run: go install github.com/mgechev/revive@latest
|
run: go install github.com/mgechev/revive@latest
|
||||||
- name: Run checks
|
- name: Run checks
|
||||||
|
Loading…
Reference in New Issue
Block a user