From 2dd3e55121ef2cf25d2216884bfb8c322ca61781 Mon Sep 17 00:00:00 2001 From: hossinasaadi Date: Thu, 17 Oct 2024 19:32:59 +0400 Subject: [PATCH] fix workflows --- .github/workflows/release.yml | 4 +++- .github/workflows/test.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77e668b4..5d2121f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -191,7 +191,9 @@ jobs: check-latest: true - name: Get project dependencies - run: go mod download + run: | + go mod tidy + go mod download - name: Build Xray run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e531d52..fcd57c11 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,4 +41,6 @@ jobs: key: xray-geodat- enableCrossOsArchive: true - name: Test - run: go test -timeout 1h -v ./... + run: | + go mod tidy + go test -timeout 1h -v ./... \ No newline at end of file