You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by bl...@apache.org on 2021/04/15 13:11:46 UTC

[pulsar-dotpulsar] branch master updated: [CI]Fix CI (#72)

This is an automated email from the ASF dual-hosted git repository.

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 84a56f5  [CI]Fix CI (#72)
84a56f5 is described below

commit 84a56f557b30b71ce12ae7b55dd8fd7dea67d4c6
Author: Zike Yang <ar...@armail.top>
AuthorDate: Thu Apr 15 21:11:37 2021 +0800

    [CI]Fix CI (#72)
    
    * Try fix CI.
    
    * Fix CI
    
    * Clean up CI file.
---
 .github/workflows/ci-unit.yaml | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/ci-unit.yaml b/.github/workflows/ci-unit.yaml
index 9e788de..58ee5c8 100644
--- a/.github/workflows/ci-unit.yaml
+++ b/.github/workflows/ci-unit.yaml
@@ -22,30 +22,22 @@ on:
   pull_request:
     branches:
       - master
+  push:
+    branches:
+      - master
 
 jobs:
-
   unit-tests:
-    name:
     runs-on: ubuntu-latest
     timeout-minutes: 120
-
     steps:
       - name: checkout
-        uses: actions/checkout@v2
-        with:
-          fetch-depth: 0
-          ref: ${{ github.event.pull_request.head.sha }}
-
-      - name: Setup dotnet 2
-        uses: actions/setup-dotnet@v1
-        with:
-          dotnet-version: '2.2.x'
+        uses: actions/checkout@main
 
-      - name: Setup dotnet 3
+      - name: Setup dotnet
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '3.1.x'
+          dotnet-version: '5.0.x'
 
       - name: run unit tests
         run: dotnet test ./tests/DotPulsar.Tests/DotPulsar.Tests.csproj --logger "trx;verbosity=detailed"