Skip to content

Commit

Permalink
ci: Add build and test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Jun 14, 2024
1 parent beed003 commit 769fa86
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 34 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/dotnet-core.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and Test

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- name: Setup .NET Core
uses: actions/setup-dotnet@v4.0.0
with:
dotnet-version: 8.0.100
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release --no-restore --no-build
2 changes: 1 addition & 1 deletion src/JSSoft.Communication/Grpc/AdaptorClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ private static async Task<bool> MoveAsync(
{
return false;
}

ddd

Check failure on line 333 in src/JSSoft.Communication/Grpc/AdaptorClient.cs

View workflow job for this annotation

GitHub Actions / build

; expected

Check failure on line 333 in src/JSSoft.Communication/Grpc/AdaptorClient.cs

View workflow job for this annotation

GitHub Actions / build

; expected
using var cancellationTokenSource = new CancellationTokenSource(Timeout);
return await call.ResponseStream.MoveNext(cancellationTokenSource.Token);
}
Expand Down

0 comments on commit 769fa86

Please sign in to comment.