File tree 9 files changed +52
-26
lines changed
9 files changed +52
-26
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,25 @@ on: # yamllint disable-line rule:truthy
34
34
35
35
jobs :
36
36
analyze :
37
- name : Analyze
37
+ name : Analyze (${{ matrix.language }})
38
+ # Runner size impacts CodeQL analysis time. To learn more, please see:
39
+ # - https://gh.io/recommended-hardware-resources-for-running-codeql
40
+ # - https://gh.io/supported-runners-and-hardware-resources
41
+ # - https://gh.io/using-larger-runners (GitHub.com only)
42
+ # Consider using larger runners or machines with greater resources
43
+ # for possible analysis time improvements.
38
44
runs-on :
39
- ${{ (matrix.language == 'swift' && 'macos-latest ') || 'ubuntu-latest ' }}
45
+ ${{ (matrix.language == 'swift' && 'macos-14 ') || 'ubuntu-24.04 ' }}
40
46
permissions :
47
+ # required for all workflows
48
+ security-events : write
49
+
50
+ # required to fetch internal or private CodeQL packs
51
+ packages : read
52
+
53
+ # only required for workflows in private repositories
41
54
actions : read
42
55
contents : read
43
- security-events : write
44
56
45
57
strategy :
46
58
fail-fast : false
Original file line number Diff line number Diff line change 17
17
18
18
build :
19
19
name : " Build Docker images"
20
- runs-on : ubuntu-latest
20
+ runs-on : ubuntu-24.04
21
21
steps :
22
22
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
23
23
72
72
73
73
lint :
74
74
name : " Run in docker: LINT"
75
- runs-on : ubuntu-latest
75
+ runs-on : ubuntu-24.04
76
76
needs : build
77
77
steps :
78
78
- name : Download artifact
92
92
93
93
test :
94
94
name : " Run in docker: TEST"
95
- runs-on : ubuntu-latest
95
+ runs-on : ubuntu-24.04
96
96
needs : build
97
97
steps :
98
98
- name : Download artifact
@@ -112,7 +112,7 @@ jobs:
112
112
113
113
security :
114
114
name : " Snyk Container"
115
- runs-on : ubuntu-latest
115
+ runs-on : ubuntu-24.04
116
116
needs : build
117
117
steps :
118
118
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -155,7 +155,7 @@ jobs:
155
155
sarif_file : ' snyk.sarif'
156
156
scan :
157
157
name : " Trivy"
158
- runs-on : ubuntu-latest
158
+ runs-on : ubuntu-24.04
159
159
needs : build
160
160
steps :
161
161
- name : Download artifact
Original file line number Diff line number Diff line change @@ -34,7 +34,13 @@ on: # yamllint disable-line rule:truthy
34
34
jobs :
35
35
eslint :
36
36
name : Run eslint scanning
37
- runs-on : ubuntu-latest
37
+ runs-on : ${{ matrix.os }}
38
+ strategy :
39
+ matrix :
40
+ os : ["ubuntu-24.04", "macos-14", "windows-2022"]
41
+ node-version : [18.x, 20.x, 22.x]
42
+ # See supported Node.js release schedule
43
+ # at https://nodejs.org/en/about/releases/
38
44
permissions :
39
45
contents : read
40
46
security-events : write
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ on: # yamllint disable-line rule:truthy
20
20
jobs :
21
21
scan :
22
22
name : gitleaks
23
- runs-on : ubuntu-latest
23
+ runs-on : ubuntu-24.04
24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
with :
Original file line number Diff line number Diff line change 1
1
---
2
-
3
2
name : Markdown Lint
4
3
5
4
on : # yamllint disable-line rule:truthy
@@ -10,19 +9,27 @@ on: # yamllint disable-line rule:truthy
10
9
branches : ["main"]
11
10
workflow_dispatch :
12
11
12
+ permissions : read-all
13
+
13
14
jobs :
14
- lint :
15
+ markdownlint :
15
16
name : Markdown Lint
16
- runs-on : ubuntu-latest
17
+ runs-on : ubuntu-24.04
18
+
19
+ strategy :
20
+ matrix :
21
+ node-version : [22.x]
22
+ # See supported Node.js release schedule
23
+ # at https://nodejs.org/en/about/releases/
17
24
18
25
steps :
19
26
- name : Checkout repository
20
27
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21
28
22
- - name : Set up Node.js
29
+ - name : Set up Node.js ${{ matrix.node-version }}
23
30
uses : actions/setup-node@v4
24
31
with :
25
- node-version : 22.x
32
+ node-version : ${{ matrix.node-version }}
26
33
27
34
- name : Install dependencies
28
35
run : npm install -g markdownlint-cli
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ on: # yamllint disable-line rule:truthy
10
10
workflow_dispatch :
11
11
12
12
jobs :
13
- build :
14
- runs-on : ubuntu-latest
13
+ coverage :
14
+ name : NodeJS CI Coverage
15
+ runs-on : ubuntu-24.04
15
16
16
17
steps :
17
18
- name : Checkout repository
Original file line number Diff line number Diff line change @@ -12,13 +12,12 @@ on: # yamllint disable-line rule:truthy
12
12
13
13
jobs :
14
14
build :
15
- runs-on : ubuntu-latest
15
+ name : NodeJS Jest CI Test
16
+ runs-on : ${{ matrix.os }}
16
17
strategy :
17
18
matrix :
18
- os : [
19
- " windows-latest" ,
20
- " ubuntu-latest" ,
21
- " macOS-latest"
19
+ os : ["ubuntu-24.04", "macos-14"
20
+ # , "windows-2022"
22
21
]
23
22
node-version : [18.x, 20.x, 22.x]
24
23
# See supported Node.js release schedule
36
35
- name : Install dependencies
37
36
run : npm ci --verbose
38
37
39
- - name : Lint
40
- run : npm run lint
38
+ # - name: Lint
39
+ # run: npm run lint
41
40
42
41
- name : Run the tests
43
42
run : npm run jest:ci
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ on: # yamllint disable-line rule:truthy
17
17
18
18
jobs :
19
19
security :
20
- runs-on : ubuntu-latest
20
+ runs-on : ubuntu-24.04
21
21
steps :
22
22
- uses : actions/checkout@master
23
23
- name : Run Snyk to check for vulnerabilities
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ on: # yamllint disable-line rule:truthy
11
11
12
12
jobs :
13
13
lint :
14
- runs-on : ubuntu-latest
14
+ name : YAML lint
15
+ runs-on : ubuntu-24.04
15
16
steps :
16
17
- name : Checkout repository
17
18
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
You can’t perform that action at this time.
0 commit comments