From 65ee3acf2cd3e3283504c8d7f3ff8dfb04cbc709 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 23 Oct 2024 13:59:05 +0800 Subject: [PATCH] ci: updated workflow --- .github/workflows/docker-crawlab.yml | 3 ++- backend/README.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-crawlab.yml b/.github/workflows/docker-crawlab.yml index 9d6533cd..2850e7b1 100644 --- a/.github/workflows/docker-crawlab.yml +++ b/.github/workflows/docker-crawlab.yml @@ -103,6 +103,7 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: 'core/go.mod' + cache-dependency-path: 'core/go.sum' - name: Run tests working-directory: core @@ -243,7 +244,7 @@ jobs: with: name: playwright-report path: tests/e2e/playwright-report/ - retention-days: 30 + retention-days: 1 push_images: if: ${{ always() && needs.test_crawlab.result == 'success' }} diff --git a/backend/README.md b/backend/README.md index a1d4b01a..dafe39e1 100644 --- a/backend/README.md +++ b/backend/README.md @@ -1,3 +1,4 @@ # crawlab-backend Backend (Golang) for Crawlab +