Skip to content

Commit 55c7408

Browse files
committed
[internal] Update GitHub Actions workflow files
1 parent 10d4ab6 commit 55c7408

File tree

10 files changed

+385
-101
lines changed

10 files changed

+385
-101
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
dotnetversion:
8888
- 3.1.301
8989
goversion:
90-
- 1.16.x
90+
- 1.17.x
9191
language:
9292
- nodejs
9393
- python
@@ -150,7 +150,7 @@ jobs:
150150
fail-fast: true
151151
matrix:
152152
goversion:
153-
- 1.16.x
153+
- 1.17.x
154154
lint:
155155
container: golangci/golangci-lint:latest
156156
name: lint
@@ -187,7 +187,7 @@ jobs:
187187
fail-fast: true
188188
matrix:
189189
goversion:
190-
- 1.16.x
190+
- 1.17.x
191191
lint_sdk:
192192
container: golangci/golangci-lint:latest
193193
name: lint-sdk
@@ -225,7 +225,7 @@ jobs:
225225
fail-fast: true
226226
matrix:
227227
goversion:
228-
- 1.16.x
228+
- 1.17.x
229229
prerequisites:
230230
name: prerequisites
231231
runs-on: ubuntu-latest
@@ -264,7 +264,7 @@ jobs:
264264
echo 'EOF' >> $GITHUB_ENV
265265
- if: github.event_name == 'pull_request'
266266
name: Comment on PR with Details of Schema Check
267-
uses: thollander/actions-comment-pull-request@1.0.1
267+
uses: thollander/actions-comment-pull-request@v1
268268
with:
269269
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
270270
message: |
@@ -293,7 +293,7 @@ jobs:
293293
dotnetversion:
294294
- 3.1.301
295295
goversion:
296-
- 1.16.x
296+
- 1.17.x
297297
nodeversion:
298298
- 14.x
299299
pythonversion:
@@ -342,7 +342,7 @@ jobs:
342342
dotnetversion:
343343
- 3.1.301
344344
goversion:
345-
- 1.16.x
345+
- 1.17.x
346346
nodeversion:
347347
- 14.x
348348
pythonversion:
@@ -423,7 +423,7 @@ jobs:
423423
dotnetversion:
424424
- 3.1.301
425425
goversion:
426-
- 1.16.x
426+
- 1.17.x
427427
nodeversion:
428428
- 14.x
429429
pythonversion:
@@ -493,9 +493,13 @@ jobs:
493493
run: docker-compose -f testing/docker-compose.yml up --build -d
494494
- name: Install dependencies
495495
run: make install_${{ matrix.language}}_sdk
496+
- name: Install gotestfmt
497+
uses: jaxxstorm/action-install-gh-release@v1.2.0
498+
with:
499+
repo: haveyoudebuggedit/gotestfmt
496500
- name: Run tests
497-
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language
498-
}} -parallel 4 .
501+
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language
502+
}} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
499503
- if: failure() && github.event_name == 'push'
500504
name: Notify Slack
501505
uses: 8398a7/action-slack@v3
@@ -509,7 +513,7 @@ jobs:
509513
dotnetversion:
510514
- 3.1.301
511515
goversion:
512-
- 1.16.x
516+
- 1.17.x
513517
language:
514518
- nodejs
515519
- python
@@ -525,7 +529,7 @@ name: main
525529
branches:
526530
- main
527531
paths-ignore:
528-
- CHANGELOG.md
532+
- '*.md'
529533
tags-ignore:
530534
- v*
531535
- sdk/*

.github/workflows/master.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
dotnetversion:
8888
- 3.1.301
8989
goversion:
90-
- 1.16.x
90+
- 1.17.x
9191
language:
9292
- nodejs
9393
- python
@@ -150,7 +150,7 @@ jobs:
150150
fail-fast: true
151151
matrix:
152152
goversion:
153-
- 1.16.x
153+
- 1.17.x
154154
lint:
155155
container: golangci/golangci-lint:latest
156156
name: lint
@@ -187,7 +187,7 @@ jobs:
187187
fail-fast: true
188188
matrix:
189189
goversion:
190-
- 1.16.x
190+
- 1.17.x
191191
lint_sdk:
192192
container: golangci/golangci-lint:latest
193193
name: lint-sdk
@@ -225,7 +225,7 @@ jobs:
225225
fail-fast: true
226226
matrix:
227227
goversion:
228-
- 1.16.x
228+
- 1.17.x
229229
prerequisites:
230230
name: prerequisites
231231
runs-on: ubuntu-latest
@@ -264,7 +264,7 @@ jobs:
264264
echo 'EOF' >> $GITHUB_ENV
265265
- if: github.event_name == 'pull_request'
266266
name: Comment on PR with Details of Schema Check
267-
uses: thollander/actions-comment-pull-request@1.0.1
267+
uses: thollander/actions-comment-pull-request@v1
268268
with:
269269
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
270270
message: |
@@ -293,7 +293,7 @@ jobs:
293293
dotnetversion:
294294
- 3.1.301
295295
goversion:
296-
- 1.16.x
296+
- 1.17.x
297297
nodeversion:
298298
- 14.x
299299
pythonversion:
@@ -342,7 +342,7 @@ jobs:
342342
dotnetversion:
343343
- 3.1.301
344344
goversion:
345-
- 1.16.x
345+
- 1.17.x
346346
nodeversion:
347347
- 14.x
348348
pythonversion:
@@ -423,7 +423,7 @@ jobs:
423423
dotnetversion:
424424
- 3.1.301
425425
goversion:
426-
- 1.16.x
426+
- 1.17.x
427427
nodeversion:
428428
- 14.x
429429
pythonversion:
@@ -493,9 +493,13 @@ jobs:
493493
run: docker-compose -f testing/docker-compose.yml up --build -d
494494
- name: Install dependencies
495495
run: make install_${{ matrix.language}}_sdk
496+
- name: Install gotestfmt
497+
uses: jaxxstorm/action-install-gh-release@v1.2.0
498+
with:
499+
repo: haveyoudebuggedit/gotestfmt
496500
- name: Run tests
497-
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language
498-
}} -parallel 4 .
501+
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language
502+
}} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
499503
- if: failure() && github.event_name == 'push'
500504
name: Notify Slack
501505
uses: 8398a7/action-slack@v3
@@ -509,7 +513,7 @@ jobs:
509513
dotnetversion:
510514
- 3.1.301
511515
goversion:
512-
- 1.16.x
516+
- 1.17.x
513517
language:
514518
- nodejs
515519
- python
@@ -525,7 +529,7 @@ name: master
525529
branches:
526530
- master
527531
paths-ignore:
528-
- CHANGELOG.md
532+
- '*.md'
529533
tags-ignore:
530534
- v*
531535
- sdk/*

0 commit comments

Comments
 (0)