Skip to content

Commit d266aca

Browse files
authored
Merge pull request #266 from sir-gon/develop
[CONFIG] [Github Actions] Now use fixed version of Github Actions ima…
2 parents db63654 + 3397f1c commit d266aca

File tree

9 files changed

+36
-18
lines changed

9 files changed

+36
-18
lines changed

.github/workflows/codeql.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,25 @@ on: # yamllint disable-line rule:truthy
3636

3737
jobs:
3838
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' }}
4148
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
4256
actions: read
4357
contents: read
44-
security-events: write
4558

4659
strategy:
4760
fail-fast: false

.github/workflows/docker-image.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
build:
2020
name: "Build Docker images"
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-24.04
2222
steps:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2424

@@ -73,7 +73,7 @@ jobs:
7373

7474
lint:
7575
name: "Run in docker: LINT"
76-
runs-on: ubuntu-latest
76+
runs-on: ubuntu-24.04
7777
needs: build
7878
steps:
7979
- name: Download artifact
@@ -93,7 +93,7 @@ jobs:
9393
9494
test:
9595
name: "Run in docker: TEST"
96-
runs-on: ubuntu-latest
96+
runs-on: ubuntu-24.04
9797
needs: build
9898
steps:
9999
- name: Download artifact
@@ -113,7 +113,7 @@ jobs:
113113
114114
security:
115115
name: "Snyk Container"
116-
runs-on: ubuntu-latest
116+
runs-on: ubuntu-24.04
117117
needs: build
118118
permissions:
119119
actions: read
@@ -160,7 +160,7 @@ jobs:
160160
sarif_file: 'snyk.sarif'
161161
scan:
162162
name: "Trivy"
163-
runs-on: ubuntu-latest
163+
runs-on: ubuntu-24.04
164164
needs: build
165165
permissions:
166166
actions: read

.github/workflows/gitleaks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on: # yamllint disable-line rule:truthy
2020
jobs:
2121
scan:
2222
name: gitleaks
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-24.04
2424
steps:
2525
- uses: actions/checkout@v4
2626
with:

.github/workflows/java-gradle-coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ permissions:
2323

2424
jobs:
2525
coverage:
26-
runs-on: ubuntu-latest
26+
name: Java CI Coverage with Gradle
27+
runs-on: ubuntu-24.04
2728

2829
steps:
2930
- uses: actions/checkout@v4

.github/workflows/java-gradle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ permissions:
2323

2424
jobs:
2525
gradle:
26+
name: Java Gradle CI Test
27+
2628
strategy:
2729
matrix:
28-
os: [ubuntu-latest, macos-latest, windows-latest]
30+
os: ["windows-2022", "ubuntu-24.04", "macos-14"]
2931
java: ['20', '21', '22']
3032
runs-on: ${{ matrix.os }}
3133

.github/workflows/markdown-lint.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@ on: # yamllint disable-line rule:truthy
1212
permissions: read-all
1313

1414
jobs:
15-
build:
16-
runs-on: ubuntu-latest
15+
markdownlint:
16+
name: Markdown Lint
17+
runs-on: ubuntu-24.04
1718

1819
strategy:
1920
matrix:
20-
node-version: [20.x]
21+
node-version: [22.x]
2122
# See supported Node.js release schedule
2223
# at https://nodejs.org/en/about/releases/
2324

2425
steps:
2526
- name: Checkout repository
26-
uses: actions/checkout@v4
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2728

2829
- name: Set up Node.js ${{ matrix.node-version }}
2930
uses: actions/setup-node@v4

.github/workflows/snyk-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on: # yamllint disable-line rule:truthy
1212

1313
jobs:
1414
security:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1616
permissions:
1717
actions: read
1818
contents: read

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions: read-all
1414
jobs:
1515
build:
1616
name: Build and analyze
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1818
steps:
1919
- uses: actions/checkout@v4
2020
with:

.github/workflows/yamllint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on: # yamllint disable-line rule:truthy
1111

1212
jobs:
1313
lint:
14-
runs-on: ubuntu-latest
14+
name: YAML lint
15+
runs-on: ubuntu-24.04
1516
steps:
1617
- name: Checkout repository
1718
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

0 commit comments

Comments
 (0)