diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml index 9e4b85a8..f019b355 100644 --- a/.github/workflows/fly.yml +++ b/.github/workflows/fly.yml @@ -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