diff --git a/.gitea/workflows/devstar-studio-autotest.yaml b/.gitea/workflows/devstar-studio-autotest.yaml index 190c50a6fe..4785032f97 100644 --- a/.gitea/workflows/devstar-studio-autotest.yaml +++ b/.gitea/workflows/devstar-studio-autotest.yaml @@ -80,7 +80,7 @@ jobs: image: mcr.microsoft.com/azure-storage/azurite:latest ports: - 10000:10000 - steps: + steps: - uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/setup-go@v5 with: @@ -88,7 +88,8 @@ jobs: check-latest: true - name: Add hosts to /etc/hosts run: '[ -e "/.dockerenv" ] || [ -e "/run/.containerenv" ] || echo "127.0.0.1 minio devstoreaccount1.azurite.local mysql elasticsearch meilisearch smtpimap " | sudo tee -a /etc/hosts' - - run: make deps-backend + - run: go clean -modcache + - run: GOPROXY=https://goproxy.cn make deps-backend - run: make backend env: TAGS: bindata diff --git a/.gitea/workflows/devstar-studio-ci-cd.yaml b/.gitea/workflows/devstar-studio-ci-cd.yaml index 44b2b53395..f48c3c8b78 100644 --- a/.gitea/workflows/devstar-studio-ci-cd.yaml +++ b/.gitea/workflows/devstar-studio-ci-cd.yaml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🔍 Check out repository code - uses: https://devstar.cn/actions/checkout@v4 + uses: https://github.com/actions/checkout@v4 with: ref: main - name: 🔧 Test Codes and Build an Artifact