Skip to content

Commit d2dc3e2

Browse files
authored
Merge branch 'main' into david.ogbureke/eventbridge-1mb-payload-limit
2 parents faa24f1 + 5793394 commit d2dc3e2

115 files changed

Lines changed: 609 additions & 222 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Composite action to upload coverage reports to Codecov
2+
name: 'Codecov Upload'
3+
description: 'Upload coverage reports to Codecov'
4+
inputs:
5+
codecov-token:
6+
required: true
7+
description: Codecov token used to upload coverage reports
8+
runs:
9+
using: "composite"
10+
steps:
11+
- name: Upload Coverage
12+
shell: bash
13+
env:
14+
CODECOV_TOKEN: ${{ inputs.codecov-token }}
15+
run: |
16+
OS=$(echo "$RUNNER_OS" | tr '[:upper:]' '[:lower:]')
17+
curl -Os "https://cli.codecov.io/latest/${OS}/codecov"
18+
chmod +x codecov
19+
./codecov --verbose upload-process --fail-on-error

.github/workflows/apps/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/appsec.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ jobs:
195195
- name: Upload Coverage
196196
if: always()
197197
continue-on-error: true
198-
shell: bash
199-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
198+
uses: ./.github/actions/codecov-upload
199+
with:
200+
codecov-token: ${{ secrets.CODECOV_TOKEN }}
200201
- name: Upload the results to Datadog CI App
201202
if: always()
202203
continue-on-error: true
@@ -276,8 +277,9 @@ jobs:
276277
- name: Upload Coverage
277278
if: always()
278279
continue-on-error: true
279-
shell: bash
280-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
280+
uses: ./.github/actions/codecov-upload
281+
with:
282+
codecov-token: ${{ secrets.CODECOV_TOKEN }}
281283
- name: Upload the results to Datadog CI App
282284
if: always()
283285
continue-on-error: true
@@ -430,8 +432,9 @@ jobs:
430432
- name: Upload Coverage
431433
if: always()
432434
continue-on-error: true
433-
shell: bash
434-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
435+
uses: ./.github/actions/codecov-upload
436+
with:
437+
codecov-token: ${{ secrets.CODECOV_TOKEN }}
435438
- name: Upload the results to Datadog CI App
436439
if: always()
437440
continue-on-error: true

.github/workflows/gotip-testing.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,7 @@ jobs:
5959

6060
- name: Upload Coverage
6161
if: always()
62-
shell: bash
63-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
62+
continue-on-error: true
63+
uses: ./.github/actions/codecov-upload
64+
with:
65+
codecov-token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/multios-unit-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,7 @@ jobs:
8282

8383
- name: Upload Coverage
8484
if: always()
85-
shell: bash
86-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
85+
continue-on-error: true
86+
uses: ./.github/actions/codecov-upload
87+
with:
88+
codecov-token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/smoke-tests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ jobs:
119119
tags: go:stable,arch:${{ runner.arch }},os:${{ runner.os }}
120120
- name: Upload Coverage
121121
if: always()
122-
shell: bash
123-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
122+
continue-on-error: true
123+
uses: ./.github/actions/codecov-upload
124+
with:
125+
codecov-token: ${{ secrets.CODECOV_TOKEN }}
124126

125127
smoke-test-tracer:
126128
name: Test dd-trace-go
@@ -157,8 +159,10 @@ jobs:
157159
tags: go:1.25,arch:${{ runner.arch }},os:${{ runner.os }}
158160
- name: Upload Coverage
159161
if: always()
160-
shell: bash
161-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
162+
continue-on-error: true
163+
uses: ./.github/actions/codecov-upload
164+
with:
165+
codecov-token: ${{ secrets.CODECOV_TOKEN }}
162166

163167
check-gen-files:
164168
name: Check generated files and go mod files are up-to-date.

.github/workflows/unit-integration-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,9 @@ jobs:
250250
- name: Upload Coverage
251251
if: always()
252252
continue-on-error: true
253-
shell: bash
254-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
253+
uses: ./.github/actions/codecov-upload
254+
with:
255+
codecov-token: ${{ secrets.CODECOV_TOKEN }}
255256

256257
# Check for changes in the supported_configurations.json file
257258
- name: Supported Configurations Diff Check
@@ -333,8 +334,9 @@ jobs:
333334
- name: Upload Coverage
334335
if: always()
335336
continue-on-error: true
336-
shell: bash
337-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
337+
uses: ./.github/actions/codecov-upload
338+
with:
339+
codecov-token: ${{ secrets.CODECOV_TOKEN }}
338340

339341
# Check for changes in the supported_configurations.json file
340342
- name: Supported Configurations Diff Check

contrib/99designs/gqlgen/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/IBM/sarama/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ require (
8787
golang.org/x/crypto v0.48.0 // indirect
8888
golang.org/x/exp v0.0.0-20251209150349-8475f28825e9 // indirect
8989
golang.org/x/mod v0.32.0 // indirect
90-
golang.org/x/net v0.50.0 // indirect
90+
golang.org/x/net v0.51.0 // indirect
9191
golang.org/x/sys v0.41.0 // indirect
9292
golang.org/x/time v0.14.0 // indirect
9393
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect

contrib/IBM/sarama/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)