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:
Sky Singh 2025-06-03 09:59:55 +05:30
parent c289bb18fa
commit e9aa601056
No known key found for this signature in database
GPG Key ID: 0FE88BD41A5B05BF
1 changed files with 5 additions and 0 deletions

View File

@ -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 ]