Fix/array of objects and cloud docs check (#166) #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test cgo Detection | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'tools/redpanda-connect/**' | |
| - '__tests__/tools/cgo-detection.test.js' | |
| - '.github/workflows/test-cgo-detection.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'tools/redpanda-connect/**' | |
| - '__tests__/tools/cgo-detection.test.js' | |
| workflow_dispatch: | |
| jobs: | |
| test-cgo-detection: | |
| name: Cgo Detection E2E Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run cgo detection test | |
| run: node __tests__/tools/cgo-detection.test.js | |
| - name: Upload test artifacts on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: cgo-test-output | |
| path: .test-cgo-detection/ | |
| retention-days: 7 |