File tree Expand file tree Collapse file tree 9 files changed +36
-18
lines changed Expand file tree Collapse file tree 9 files changed +36
-18
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,25 @@ on: # yamllint disable-line rule:truthy
36
36
37
37
jobs :
38
38
analyze :
39
- name : Analyze
40
- runs-on : ubuntu-latest
39
+ name : Analyze (${{ matrix.language }})
40
+ # Runner size impacts CodeQL analysis time. To learn more, please see:
41
+ # - https://gh.io/recommended-hardware-resources-for-running-codeql
42
+ # - https://gh.io/supported-runners-and-hardware-resources
43
+ # - https://gh.io/using-larger-runners (GitHub.com only)
44
+ # Consider using larger runners or machines with greater resources
45
+ # for possible analysis time improvements.
46
+ runs-on :
47
+ ${{ (matrix.language == 'swift' && 'macos-14') || 'ubuntu-24.04' }}
41
48
permissions :
49
+ # required for all workflows
50
+ security-events : write
51
+
52
+ # required to fetch internal or private CodeQL packs
53
+ packages : read
54
+
55
+ # only required for workflows in private repositories
42
56
actions : read
43
57
contents : read
44
- security-events : write
45
58
46
59
strategy :
47
60
fail-fast : false
Original file line number Diff line number Diff line change 18
18
19
19
build :
20
20
name : " Build Docker images"
21
- runs-on : ubuntu-latest
21
+ runs-on : ubuntu-24.04
22
22
steps :
23
23
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
24
24
73
73
74
74
lint :
75
75
name : " Run in docker: LINT"
76
- runs-on : ubuntu-latest
76
+ runs-on : ubuntu-24.04
77
77
needs : build
78
78
steps :
79
79
- name : Download artifact
93
93
94
94
test :
95
95
name : " Run in docker: TEST"
96
- runs-on : ubuntu-latest
96
+ runs-on : ubuntu-24.04
97
97
needs : build
98
98
steps :
99
99
- name : Download artifact
@@ -113,7 +113,7 @@ jobs:
113
113
114
114
security :
115
115
name : " Snyk Container"
116
- runs-on : ubuntu-latest
116
+ runs-on : ubuntu-24.04
117
117
needs : build
118
118
permissions :
119
119
actions : read
@@ -160,7 +160,7 @@ jobs:
160
160
sarif_file : ' snyk.sarif'
161
161
scan :
162
162
name : " Trivy"
163
- runs-on : ubuntu-latest
163
+ runs-on : ubuntu-24.04
164
164
needs : build
165
165
permissions :
166
166
actions : read
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 @@ -23,7 +23,8 @@ permissions:
23
23
24
24
jobs :
25
25
coverage :
26
- runs-on : ubuntu-latest
26
+ name : Java CI Coverage with Gradle
27
+ runs-on : ubuntu-24.04
27
28
28
29
steps :
29
30
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ permissions:
23
23
24
24
jobs :
25
25
gradle :
26
+ name : Java Gradle CI Test
27
+
26
28
strategy :
27
29
matrix :
28
- os : [ubuntu-latest, macos-latest, windows-latest ]
30
+ os : ["windows-2022", "ubuntu-24.04", "macos-14" ]
29
31
java : ['20', '21', '22']
30
32
runs-on : ${{ matrix.os }}
31
33
Original file line number Diff line number Diff line change @@ -12,18 +12,19 @@ on: # yamllint disable-line rule:truthy
12
12
permissions : read-all
13
13
14
14
jobs :
15
- build :
16
- runs-on : ubuntu-latest
15
+ markdownlint :
16
+ name : Markdown Lint
17
+ runs-on : ubuntu-24.04
17
18
18
19
strategy :
19
20
matrix :
20
- node-version : [20 .x]
21
+ node-version : [22 .x]
21
22
# See supported Node.js release schedule
22
23
# at https://nodejs.org/en/about/releases/
23
24
24
25
steps :
25
26
- name : Checkout repository
26
- uses : actions/checkout@v4
27
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
27
28
28
29
- name : Set up Node.js ${{ matrix.node-version }}
29
30
uses : actions/setup-node@v4
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ on: # yamllint disable-line rule:truthy
12
12
13
13
jobs :
14
14
security :
15
- runs-on : ubuntu-latest
15
+ runs-on : ubuntu-24.04
16
16
permissions :
17
17
actions : read
18
18
contents : read
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ permissions: read-all
14
14
jobs :
15
15
build :
16
16
name : Build and analyze
17
- runs-on : ubuntu-latest
17
+ runs-on : ubuntu-24.04
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
with :
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