Skip to content

Commit 2a2c740

Browse files
committed
ci: restore dotnet 6 test pipeline for legacy versions
1 parent 1f7856a commit 2a2c740

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build-net-6.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Manual CI for .NET 6.0 legacy support.
2+
# Not auto-triggered: We only maintain v6.0 support for older version compatibility.
3+
name: "Legacy Support: .NET 6.0 Build & Test"
4+
5+
on:
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
dotnet6-build-and-unit-test:
13+
name: Build & Test (.NET 6.0) - ${{ matrix.os }}
14+
runs-on: ${{ matrix.os }}
15+
16+
strategy:
17+
matrix:
18+
os: [ ubuntu-latest, windows-latest ]
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Setup .NET SDKs
24+
uses: actions/setup-dotnet@v4
25+
with:
26+
dotnet-version: |
27+
6.0.x
28+
8.0.x
29+
30+
- name: Restore
31+
run: dotnet restore
32+
33+
- name: Build (Debug)
34+
run: dotnet build --configuration Debug --framework net6.0 --no-restore
35+
36+
- name: Test
37+
run: dotnet test --no-build --configuration Debug --framework net6.0 --no-restore Adyen.Test/Adyen.Test.csproj

0 commit comments

Comments
 (0)