@@ -50,48 +50,48 @@ jobs:
5050 uses : actions/checkout@v3
5151 - name : Check Collector Module Version
5252 run : ./.github/workflows/scripts/check-collector-module-version.sh
53- lint-matrix :
54- strategy :
55- matrix :
56- group :
57- - receiver-0
58- - receiver-1
59- - processor
60- - exporter
61- - extension
62- - connector
63- - internal
64- - other
65- runs-on : ubuntu-latest
66- needs : [setup-environment]
67- steps :
68- - name : Checkout Repo
69- uses : actions/checkout@v3
70- - name : Setup Go
71- uses : actions/setup-go@v3
72- with :
73- go-version : 1.19
74- - name : Cache Go
75- id : go-cache
76- uses : actions/cache@v3
77- with :
78- path : |
79- ~/go/bin
80- ~/go/pkg/mod
81- key : go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
82- - name : Install dependencies
83- if : steps.go-cache.outputs.cache-hit != 'true'
84- run : make -j2 gomoddownload
85- - name : Install Tools
86- if : steps.go-cache.outputs.cache-hit != 'true'
87- run : make install-tools
88- - name : Cache Lint Build
89- uses : actions/cache@v3
90- with :
91- path : ~/.cache/go-build
92- key : go-lint-build-${{ matrix.group }}-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
93- - name : Lint
94- run : make -j2 golint GROUP=${{ matrix.group }}
53+ # lint-matrix:
54+ # strategy:
55+ # matrix:
56+ # group:
57+ # - receiver-0
58+ # - receiver-1
59+ # - processor
60+ # - exporter
61+ # - extension
62+ # - connector
63+ # - internal
64+ # - other
65+ # runs-on: ubuntu-latest
66+ # needs: [setup-environment]
67+ # steps:
68+ # - name: Checkout Repo
69+ # uses: actions/checkout@v3
70+ # - name: Setup Go
71+ # uses: actions/setup-go@v3
72+ # with:
73+ # go-version: 1.19
74+ # - name: Cache Go
75+ # id: go-cache
76+ # uses: actions/cache@v3
77+ # with:
78+ # path: |
79+ # ~/go/bin
80+ # ~/go/pkg/mod
81+ # key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
82+ # - name: Install dependencies
83+ # if: steps.go-cache.outputs.cache-hit != 'true'
84+ # run: make -j2 gomoddownload
85+ # - name: Install Tools
86+ # if: steps.go-cache.outputs.cache-hit != 'true'
87+ # run: make install-tools
88+ # - name: Cache Lint Build
89+ # uses: actions/cache@v3
90+ # with:
91+ # path: ~/.cache/go-build
92+ # key: go-lint-build-${{ matrix.group }}-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
93+ # - name: Lint
94+ # run: make -j2 golint GROUP=${{ matrix.group }}
9595 lint :
9696 if : ${{ github.actor != 'dependabot[bot]' && always() }}
9797 runs-on : ubuntu-latest
@@ -168,54 +168,54 @@ jobs:
168168 run : |
169169 make generate-gh-issue-templates
170170 git diff --exit-code '.github/ISSUE_TEMPLATE' || (echo 'Dropdowns in issue templates are out of date, please run "make generate-gh-issue-templates" and commit the changes in this PR.' && exit 1)
171- unittest-matrix :
172- strategy :
173- matrix :
174- go-version : ["1.20", 1.19] # 1.20 is interpreted as 1.2 without quotes
175- group :
176- - receiver-0
177- - receiver-1
178- - processor
179- - exporter
180- - extension
181- - connector
182- - internal
183- - other
184- runs-on : ubuntu-latest
185- needs : [setup-environment]
186- steps :
187- - name : Collect Workflow Telemetry
188- if : always()
189- uses : runforesight/foresight-workflow-kit-action@v1
190- with :
191- api_key : ${{ secrets.FORESIGHT_API_KEY }}
192- - name : Checkout Repo
193- uses : actions/checkout@v3
194- - name : Setup Go
195- uses : actions/setup-go@v3
196- with :
197- go-version : ${{ matrix.go-version }}
198- - name : Cache Go
199- id : go-cache
200- uses : actions/cache@v3
201- with :
202- path : |
203- ~/go/bin
204- ~/go/pkg/mod
205- key : go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
206- - name : Install dependencies
207- if : steps.go-cache.outputs.cache-hit != 'true'
208- run : make -j2 gomoddownload
209- - name : Install Tools
210- if : steps.go-cache.outputs.cache-hit != 'true'
211- run : make install-tools
212- - name : Cache Test Build
213- uses : actions/cache@v3
214- with :
215- path : ~/.cache/go-build
216- key : go-test-build-${{ runner.os }}-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
217- - name : Run Unit Tests
218- run : make gotest GROUP=${{ matrix.group }}
171+ # unittest-matrix:
172+ # strategy:
173+ # matrix:
174+ # go-version: ["1.20", 1.19] # 1.20 is interpreted as 1.2 without quotes
175+ # group:
176+ # - receiver-0
177+ # - receiver-1
178+ # - processor
179+ # - exporter
180+ # - extension
181+ # - connector
182+ # - internal
183+ # - other
184+ # runs-on: ubuntu-latest
185+ # needs: [setup-environment]
186+ # steps:
187+ # - name: Collect Workflow Telemetry
188+ # if: always()
189+ # uses: runforesight/foresight-workflow-kit-action@v1
190+ # with:
191+ # api_key: ${{ secrets.FORESIGHT_API_KEY }}
192+ # - name: Checkout Repo
193+ # uses: actions/checkout@v3
194+ # - name: Setup Go
195+ # uses: actions/setup-go@v3
196+ # with:
197+ # go-version: ${{ matrix.go-version }}
198+ # - name: Cache Go
199+ # id: go-cache
200+ # uses: actions/cache@v3
201+ # with:
202+ # path: |
203+ # ~/go/bin
204+ # ~/go/pkg/mod
205+ # key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
206+ # - name: Install dependencies
207+ # if: steps.go-cache.outputs.cache-hit != 'true'
208+ # run: make -j2 gomoddownload
209+ # - name: Install Tools
210+ # if: steps.go-cache.outputs.cache-hit != 'true'
211+ # run: make install-tools
212+ # - name: Cache Test Build
213+ # uses: actions/cache@v3
214+ # with:
215+ # path: ~/.cache/go-build
216+ # key: go-test-build-${{ runner.os }}-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
217+ # - name: Run Unit Tests
218+ # run: make gotest GROUP=${{ matrix.group }}
219219 unittest :
220220 if : ${{ github.actor != 'dependabot[bot]' && always() }}
221221 strategy :
0 commit comments