mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
fixing go sdk workflow
This commit is contained in:
parent
32c6b1f136
commit
799ffde820
8
.github/workflows/fly.yml
vendored
8
.github/workflows/fly.yml
vendored
|
@ -183,7 +183,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: "go.mod"
|
||||
go-version-file: "./apps/go-sdk/firecrawl/go.mod"
|
||||
- name: Install pnpm
|
||||
run: npm install -g pnpm
|
||||
- name: Install dependencies
|
||||
|
@ -199,15 +199,15 @@ jobs:
|
|||
id: start_workers
|
||||
- name: Install dependencies for Go SDK
|
||||
run: go mod tidy
|
||||
working-directory: ./apps/go-sdk
|
||||
working-directory: ./apps/go-sdk/firecrawl
|
||||
- name: Run tests for Go SDK
|
||||
run: go test -v ./... -timeout 180s
|
||||
run: TEST_API_KEY=${{ secrets.TEST_API_KEY }} go test -v ./... -timeout 180s
|
||||
working-directory: ./apps/go-sdk/firecrawl
|
||||
|
||||
deploy:
|
||||
name: Deploy app
|
||||
runs-on: ubuntu-latest
|
||||
needs: [pre-deploy-test-suite, python-sdk-tests, js-sdk-tests]
|
||||
needs: [pre-deploy-test-suite, python-sdk-tests, js-sdk-tests, go-sdk-tests]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
|
|
Loading…
Reference in New Issue
Block a user