ci: updated workflow

This commit is contained in:
Marvin Zhang
2024-10-23 11:09:43 +08:00
parent c15bfa2f49
commit 64566c7670
2 changed files with 3 additions and 2 deletions

View File

@@ -102,11 +102,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version-file: 'core/go.mod'
- name: Run tests
working-directory: core
run: |
cd core
# Find all directories containing *_test.go files
test_dirs=$(find . -name "*_test.go" -exec dirname {} \; | sort -u)

View File

@@ -1,3 +1,4 @@
# crawlab-backend
Backend (Golang) for Crawlab