Skip to content

Commit c16cfc4

Browse files
authored
chore: Update CI workflow to ubuntu-24.04 (#1544)
1 parent d1d2134 commit c16cfc4

File tree

66 files changed

+83
-80
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+83
-80
lines changed

.github/workflows/cicd.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ env:
2828

2929
jobs:
3030
collect-test-projects:
31-
runs-on: ubuntu-22.04
31+
runs-on: ubuntu-24.04
3232

3333
outputs:
3434
test-projects: ${{ steps.set-test-projects.outputs.test-projects }}
3535

3636
steps:
3737
- name: Checkout Repository
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939

4040
- id: set-test-projects
4141
name: Collect Test Projects
@@ -54,7 +54,7 @@ jobs:
5454

5555
steps:
5656
- name: Checkout Repository
57-
uses: actions/checkout@v4
57+
uses: actions/checkout@v5
5858
with:
5959
lfs: true
6060

@@ -65,7 +65,7 @@ jobs:
6565
path: ~/.nuget/packages
6666

6767
- name: Setup .NET
68-
uses: actions/setup-dotnet@v4
68+
uses: actions/setup-dotnet@v5
6969

7070
- name: Restore NuGet Packages
7171
run: ./build.sh --target=Restore-NuGet-Packages
@@ -97,7 +97,7 @@ jobs:
9797
contents: write
9898
pull-requests: read
9999

100-
runs-on: ubuntu-22.04
100+
runs-on: ubuntu-24.04
101101

102102
env:
103103
CODE_SIGNING_CERTIFICATE_BASE64: ${{ secrets.CODE_SIGNING_CERTIFICATE_BASE64 }}
@@ -112,13 +112,13 @@ jobs:
112112

113113
steps:
114114
- name: Checkout Repository
115-
uses: actions/checkout@v4
115+
uses: actions/checkout@v5
116116
with:
117117
lfs: true
118118
fetch-depth: 0
119119

120120
- name: Download Test And Coverage Results
121-
uses: actions/download-artifact@v4
121+
uses: actions/download-artifact@v5
122122
with:
123123
pattern: Testcontainers*
124124
path: test-results
@@ -130,17 +130,17 @@ jobs:
130130
- name: Cache NuGet Packages
131131
uses: actions/cache@v4
132132
with:
133-
key: ubuntu-22.04-nuget-${{ hashFiles('Directory.Packages.props') }}
133+
key: ubuntu-24.04-nuget-${{ hashFiles('Directory.Packages.props') }}
134134
path: ~/.nuget/packages
135135

136136
- name: Setup Java
137-
uses: actions/setup-java@v4
137+
uses: actions/setup-java@v5
138138
with:
139139
distribution: temurin
140140
java-version: 21
141141

142142
- name: Setup .NET
143-
uses: actions/setup-dotnet@v4
143+
uses: actions/setup-dotnet@v5
144144

145145
- name: Restore NuGet Packages
146146
run: ./build.sh --target=Restore-NuGet-Packages

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
permissions:
2323
security-events: write
2424

25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-24.04
2626

2727
steps:
2828
- name: Checkout Repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
with:
3131
lfs: true
3232

.github/workflows/test-report.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ jobs:
1313
checks: write
1414
contents: read
1515

16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717

1818
steps:
19-
# https://github.com/dorny/test-reporter/issues/363#issuecomment-2381625959.
19+
- name: Download Test And Coverage Results
20+
uses: actions/download-artifact@v5
21+
with:
22+
pattern: Testcontainers*
23+
2024
- name: Publish Test Report
21-
uses: dorny/test-reporter@v1.9.1
25+
uses: dorny/test-reporter@v2.1.1
2226
with:
23-
artifact: '/Testcontainers.*/'
24-
name: Test Report
27+
name: test-report
2528
path: '*.trx'
2629
reporter: dotnet-trx
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ubuntu-22.04
1+
ubuntu-24.04
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ubuntu-22.04
1+
ubuntu-24.04
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ubuntu-22.04
1+
ubuntu-24.04
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ubuntu-22.04
1+
ubuntu-24.04
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ubuntu-22.04
1+
ubuntu-24.04
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ubuntu-22.04
1+
ubuntu-24.04
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ubuntu-22.04
1+
ubuntu-24.04

0 commit comments

Comments
 (0)