mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-01 15:56:18 +00:00
Update update-dependencies.yml
This commit is contained in:
parent
dc3ab0cf7f
commit
72376b89e6
1 changed files with 13 additions and 0 deletions
13
.github/workflows/update-dependencies.yml
vendored
13
.github/workflows/update-dependencies.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue