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