Update update-dependencies.yml

This commit is contained in:
civisrom 2025-02-21 15:58:03 +03:00 committed by GitHub
parent dc3ab0cf7f
commit 72376b89e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,19 @@ jobs:
echo "Error: go.mod file not found"
exit 1
fi
- name: Check go.mod and go.sum exist
run: |
if [ ! -f go.mod ]; then
echo "Error: go.mod file not found"
exit 1
fi
# Проверка наличия go.sum и создание, если отсутствует
if [ ! -f go.sum ]; then
echo "go.sum file not found, initializing it..."
go mod tidy
fi
- name: Clean Go module cache
run: |