fix(deps): update module go.opentelemetry.io/collector/component/componenttest to v0.135.0 - autoclosed #130
Workflow file for this run
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: Receiver Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'receiver/**' | |
| - 'extension/**' | |
| - 'processor/**' | |
| - '.github/workflows/**' | |
| branches: [ main ] | |
| jobs: | |
| # Detect the modules in the receiver directory | |
| # From https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#how-to-use | |
| detect-modules: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| modules: ${{ steps.set-modules.outputs.modules }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| - id: set-modules | |
| run: echo "modules=$(go list -m -json | jq -s 'map(select(.Path | contains("github.com/zmoog/collector/tools") | not)) | .' | jq -c '[.[].Dir]')" >> $GITHUB_OUTPUT | |
| golangci-lint: | |
| needs: detect-modules | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| modules: ${{ fromJSON(needs.detect-modules.outputs.modules) }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24' | |
| - name: golangci-lint ${{ matrix.modules }} | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| working-directory: ${{ matrix.modules }} | |
| version: latest | |
| args: --timeout=5m | |
| # - name: Test | |
| # run: | | |
| # cd receiver/${{ matrix.receiver }} | |
| # go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... | |
| # - name: Upload coverage | |
| # uses: codecov/codecov-action@v4 | |
| # with: | |
| # file: ./receiver/${{ matrix.receiver }}/coverage.txt | |
| # flags: ${{ matrix.receiver }} | |
| # name: ${{ matrix.receiver }} |