feat(integrations): add OpenTelemetry and GORM sub-modules (#451 #452) #10
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: Integrations | |
| on: | |
| push: | |
| paths: | |
| - 'integrations/**' | |
| - '.github/workflows/integrations.yml' | |
| pull_request: | |
| paths: | |
| - 'integrations/**' | |
| - '.github/workflows/integrations.yml' | |
| jobs: | |
| opentelemetry: | |
| name: OpenTelemetry Integration | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: integrations/opentelemetry | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.26' | |
| - run: go mod tidy | |
| - run: go test -race -timeout 60s ./... | |
| gorm: | |
| name: GORM Integration | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: integrations/gorm | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.26' | |
| - run: go mod tidy | |
| - run: go test -race -timeout 60s ./... |