Skip to content

Commit 4f22cf7

Browse files
authored
Add more YAML verification (#5151)
* Validate YAML files using actionlint * Check that tests in packages/datadog-instrumentations/tests/ are actually run. * Check that tests in packages/datadog-plugin-*/tests/ are actually run. * Ensure all tests have the same triggers.
1 parent f534ae0 commit 4f22cf7

38 files changed

Lines changed: 297 additions & 110 deletions

.github/actions/install/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Install dependencies
2+
description: Install dependencies
23
runs:
34
using: composite
45
steps: # retry in case of server error from registry

.github/actions/node/14/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Node 14
2+
description: Install Node 14
23
runs:
34
using: composite
45
steps:
5-
- uses: actions/setup-node@v3
6+
- uses: actions/setup-node@v4
67
with:
78
node-version: '14'

.github/actions/node/16/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Node 16
2+
description: Install Node 16
23
runs:
34
using: composite
45
steps:
5-
- uses: actions/setup-node@v3
6+
- uses: actions/setup-node@v4
67
with:
78
node-version: '16'

.github/actions/node/18/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Node 18
2+
description: Install Node 18
23
runs:
34
using: composite
45
steps:
5-
- uses: actions/setup-node@v3
6+
- uses: actions/setup-node@v4
67
with:
78
node-version: '18'

.github/actions/node/20/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Node 20
2+
description: Install Node 20
23
runs:
34
using: composite
45
steps:
5-
- uses: actions/setup-node@v3
6+
- uses: actions/setup-node@v4
67
with:
78
node-version: '20'
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Node Latest
2+
description: Install the latest Node.js version
23
runs:
34
using: composite
45
steps:
5-
- uses: actions/setup-node@v3
6+
- uses: actions/setup-node@v4
67
with:
78
node-version: '22' # Update this line to the latest Node.js version
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Node 18
2+
description: Install Oldest Supported Node.js version
23
runs:
34
using: composite
45
steps:
5-
- uses: actions/setup-node@v3
6+
- uses: actions/setup-node@v4
67
with:
78
node-version: '18'
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Node Setup
2+
description: Install Node.js
23
runs:
34
using: composite
45
steps:
5-
- uses: actions/setup-node@v3
6+
- uses: actions/setup-node@v4
67
with:
78
cache: yarn
89
node-version: '18'

.github/actions/plugins/test-and-upstream/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Plugin Tests
1+
name: Plugin and Upstream Tests
2+
description: Run plugin tests and upstream test suite
23
runs:
34
using: composite
45
steps:
@@ -15,7 +16,7 @@ runs:
1516
shell: bash
1617
- run: yarn test:plugins:upstream
1718
shell: bash
18-
- uses: codecov/codecov-action@v3
19+
- uses: codecov/codecov-action@v5
1920
- if: always()
2021
uses: ./.github/actions/testagent/logs
2122
with:

.github/actions/plugins/test/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Plugin Tests
2+
description: Run plugin tests
23
runs:
34
using: composite
45
steps:
@@ -11,7 +12,7 @@ runs:
1112
- uses: ./.github/actions/node/latest
1213
- run: yarn test:plugins:ci
1314
shell: bash
14-
- uses: codecov/codecov-action@v3
15+
- uses: codecov/codecov-action@v5
1516
- if: always()
1617
uses: ./.github/actions/testagent/logs
1718
with:

0 commit comments

Comments
 (0)