Skip to content

Commit 4e4a429

Browse files
authored
fix: Make CI pass (#234)
* ubuntu-22.04 * upgrade upload-artifact: v2 -> v4
1 parent 821e182 commit 4e4a429

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

.github/workflows/create-dependencies-pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77

88
jobs:
99
generate:
10-
runs-on: ubuntu-latest
10+
# ubuntu-latest's SSL library no longer supports .NET 3.1
11+
runs-on: ubuntu-22.04
1112

1213
steps:
1314
- name: Checkout OpenActive.Server.NET

.github/workflows/openactive-test-suite.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88

99
jobs:
1010
test-server:
11-
runs-on: ubuntu-latest
11+
# ubuntu-latest's SSL library no longer supports .NET 3.1
12+
runs-on: ubuntu-22.04
1213
steps:
1314
# Checks out this project ie OpenActive.Server.NET
1415
- name: Checkout
@@ -32,7 +33,8 @@ jobs:
3233
run: dotnet test ./OpenActive.Server.NET.Tests/OpenActive.Server.NET.Tests.csproj --configuration Release --no-build --verbosity normal
3334

3435
test-fake-database:
35-
runs-on: ubuntu-latest
36+
# ubuntu-latest's SSL library no longer supports .NET 3.1
37+
runs-on: ubuntu-22.04
3638
steps:
3739
# Checks out this project ie OpenActive.Server.NET
3840
- name: Checkout
@@ -61,7 +63,8 @@ jobs:
6163
needs:
6264
- test-server
6365
- test-fake-database
64-
runs-on: ubuntu-latest
66+
# ubuntu-latest's SSL library no longer supports .NET 3.1
67+
runs-on: ubuntu-22.04
6568

6669
# Defines a matrix strategy for running tests with different combinations of parameters, allowing for parallel test
6770
# runs with various configurations. For more information about these parameters, see `.github/README.md` in Test
@@ -154,7 +157,7 @@ jobs:
154157

155158
# uploads the test output as an artifact, which can be used for reference or debugging later
156159
- name: Upload test output for ${{ matrix.mode }} mode as artifact
157-
uses: actions/upload-artifact@v2
160+
uses: actions/upload-artifact@v4
158161
if: ${{ success() || failure() }}
159162
with:
160163
name: core.${{ matrix.mode }}.${{ matrix.profile }}
@@ -234,7 +237,7 @@ jobs:
234237
NODE_APP_INSTANCE: framework
235238
working-directory: tests
236239
- name: Upload test output for ${{ matrix.mode }} mode as artifact
237-
uses: actions/upload-artifact@v2
240+
uses: actions/upload-artifact@v4
238241
if: ${{ success() || failure() }}
239242
with:
240243
name: framework.${{ matrix.mode }}.${{ matrix.profile }}
@@ -247,7 +250,8 @@ jobs:
247250
if: ${{ github.ref == 'refs/heads/master' }}
248251
needs:
249252
- core
250-
runs-on: ubuntu-latest
253+
# ubuntu-latest's SSL library no longer supports .NET 3.1
254+
runs-on: ubuntu-22.04
251255
steps:
252256
# Checkout the repo
253257
- uses: actions/checkout@master
@@ -291,7 +295,8 @@ jobs:
291295
needs:
292296
- core
293297
- framework
294-
runs-on: ubuntu-latest
298+
# ubuntu-latest's SSL library no longer supports .NET 3.1
299+
runs-on: ubuntu-22.04
295300
steps:
296301
- name: Checkout
297302
uses: actions/checkout@v2
@@ -342,7 +347,8 @@ jobs:
342347
needs:
343348
- core
344349
- framework
345-
runs-on: ubuntu-latest
350+
# ubuntu-latest's SSL library no longer supports .NET 3.1
351+
runs-on: ubuntu-22.04
346352
steps:
347353
- name: Checkout
348354
uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
# OpenActive.Server.NET [![Nuget](https://img.shields.io/nuget/v/OpenActive.Server.NET.svg)](https://www.nuget.org/packages/OpenActive.Server.NET/) [![OpenActive.Server.NET.Test](https://github.com/openactive/OpenActive.Server.NET/workflows/OpenActive.Server.NET.Tests/badge.svg?branch=master)](https://github.com/openactive/OpenActive.Server.NET/actions?query=workflow%3AOpenActive.Server.NET.Tests)
1+
# OpenActive.Server.NET [![Nuget](https://img.shields.io/nuget/v/OpenActive.Server.NET.svg)](https://www.nuget.org/packages/OpenActive.Server.NET/) [![OpenActive.Server.NET.Test](https://github.com/openactive/OpenActive.Server.NET/workflows/OpenActive.Server.NET.Tests/badge.svg?branch=master)](https://github.com/openactive/OpenActive.Server.NET/actions?query=workflow%3AOpenActive.Server.NET.Tests)
32

43
The Open Booking SDK for .NET provides components that aid the implementation of the OpenActive specifications, including the [Open Booking API](https://openactive.io/open-booking-api/EditorsDraft/).
54

0 commit comments

Comments
 (0)