chore(workflow): Add dependency download step in CI workflow
- Introduced a step to download and verify Go module dependencies in the CI workflow, ensuring all required packages are available for the build process. - This enhancement improves the reliability of the build environment by ensuring dependencies are properly managed. Signed-off-by: Sky Singh <akashsingh2210670@gmail.com>
This commit is contained in:
parent
c289bb18fa
commit
e9aa601056
|
|
@ -24,6 +24,11 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Download dependencies
|
||||
run: |
|
||||
go mod download
|
||||
go mod verify
|
||||
|
||||
- name: gofmt check
|
||||
run: |
|
||||
if [ "$(gofmt -s -l . | wc -l)" -ne 0 ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue