Skip to content

Commit 8a4bcb1

Browse files
authored
ci: update .NET SDK and DTM server versions (#87)
- Remove unused .NET SDK versions (7.0.x, 6.0.x,3.1.x) from build workflow - Update .NET SDK version to 8.0.x in build_and_it workflow - Update DTM server version from 1.17.1 to 1.18.0 in build_and_it workflow
1 parent cad913d commit 8a4bcb1

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
with:
2222
dotnet-version: |
2323
8.0.x
24-
7.0.x
25-
6.0.x
26-
3.1.x
2724
2825
- name: Show dotnet Version
2926
run: |

.github/workflows/build_and_it.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232

3333
steps:
3434
- uses: actions/checkout@v3
35-
- name: Setup .NET SDK 7.0.x
35+
- name: Setup .NET SDK 8.0.x
3636
uses: actions/setup-dotnet@v3
3737
with:
38-
dotnet-version: 7.0.x
38+
dotnet-version: 8.0.x
3939

4040
- name: Show dotnet Version
4141
run: |
@@ -47,8 +47,8 @@ jobs:
4747
mysql -h127.0.0.1 -uroot -p123456 < /home/runner/work/client-csharp/client-csharp/sqls/busi.mysql.sql
4848
- name: Setup DTM server
4949
run: |
50-
wget https://github.com/dtm-labs/dtm/releases/download/v1.17.1/dtm_1.17.1_linux_amd64.tar.gz
51-
tar -xvf dtm_1.17.1_linux_amd64.tar.gz
50+
wget https://github.com/dtm-labs/dtm/releases/download/v1.18.0/dtm_1.18.0_linux_amd64.tar.gz
51+
tar -xvf dtm_1.18.0_linux_amd64.tar.gz
5252
pwd
5353
mkdir /home/runner/work/client-csharp/client-csharp/logs
5454
nohup ./dtm > /home/runner/work/client-csharp/client-csharp/logs/dtm.log 2>&1 &
@@ -61,7 +61,7 @@ jobs:
6161
- name: Run Integration Tests
6262
run: |
6363
dotnet build tests/Dtmgrpc.IntegrationTests/Dtmgrpc.IntegrationTests.csproj
64-
dotnet test tests/Dtmgrpc.IntegrationTests/Dtmgrpc.IntegrationTests.csproj
64+
dotnet test --framework=net8.0 tests/Dtmgrpc.IntegrationTests/Dtmgrpc.IntegrationTests.csproj
6565
- name: Upload logs
6666
if: always()
6767
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)