Skip to content

Commit

Permalink
ci: update .NET SDK and DTM server versions (#87)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
wooln authored Dec 11, 2024
1 parent cad913d commit 8a4bcb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
with:
dotnet-version: |
8.0.x
7.0.x
6.0.x
3.1.x
- name: Show dotnet Version
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_and_it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK 7.0.x
- name: Setup .NET SDK 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

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

0 comments on commit 8a4bcb1

Please sign in to comment.