diff --git a/.github/workflows/workflow-self-hosted-arm-static-bulid.yml b/.github/workflows/workflow-self-hosted-arm-static-bulid.yml index 80340078ac..d7e9fc0173 100644 --- a/.github/workflows/workflow-self-hosted-arm-static-bulid.yml +++ b/.github/workflows/workflow-self-hosted-arm-static-bulid.yml @@ -7,6 +7,9 @@ on: - master types: [closed] +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/workflow-self-hosted-arm.yml b/.github/workflows/workflow-self-hosted-arm.yml index 51604b88f9..a6d1bf0061 100644 --- a/.github/workflows/workflow-self-hosted-arm.yml +++ b/.github/workflows/workflow-self-hosted-arm.yml @@ -13,6 +13,9 @@ on: release: types: [push] +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true diff --git a/.github/workflows/workflow-self-hosted-centos-static-build.yml b/.github/workflows/workflow-self-hosted-centos-static-build.yml index 5a57029606..2f63cb813e 100644 --- a/.github/workflows/workflow-self-hosted-centos-static-build.yml +++ b/.github/workflows/workflow-self-hosted-centos-static-build.yml @@ -7,6 +7,9 @@ on: - master types: [closed] +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true diff --git a/.github/workflows/workflow-self-hosted-centos-upload.yml b/.github/workflows/workflow-self-hosted-centos-upload.yml index ba38f4f3e2..09d25b7e3f 100644 --- a/.github/workflows/workflow-self-hosted-centos-upload.yml +++ b/.github/workflows/workflow-self-hosted-centos-upload.yml @@ -16,6 +16,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: build_centos: name: centos ci upload diff --git a/.github/workflows/workflow-self-hosted-centos.yml b/.github/workflows/workflow-self-hosted-centos.yml index d397d65b36..b998f86431 100644 --- a/.github/workflows/workflow-self-hosted-centos.yml +++ b/.github/workflows/workflow-self-hosted-centos.yml @@ -11,6 +11,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: build_centos: name: centos ci check diff --git a/.github/workflows/workflow-self-hosted-mac.yml b/.github/workflows/workflow-self-hosted-mac.yml index b871e7c518..f920d0f920 100644 --- a/.github/workflows/workflow-self-hosted-mac.yml +++ b/.github/workflows/workflow-self-hosted-mac.yml @@ -15,6 +15,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: build_mac: name: mac ci check @@ -29,7 +32,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v3 with: - distribution: 'zulu' + distribution: "zulu" java-version: 8 java-package: jdk @@ -46,7 +49,7 @@ jobs: run: | cd build CTEST_OUTPUT_ON_FAILURE=TRUE make test - + - name: prepare RPCAPI Tests run: cd tools && bash .ci/rpcapi_ci_prepare.sh diff --git a/.github/workflows/workflow-self-hosted-ubuntu-static-build.yml b/.github/workflows/workflow-self-hosted-ubuntu-static-build.yml index 84f686bdd7..79a9ee73a8 100644 --- a/.github/workflows/workflow-self-hosted-ubuntu-static-build.yml +++ b/.github/workflows/workflow-self-hosted-ubuntu-static-build.yml @@ -11,6 +11,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: build_ubuntu: name: ubuntu static build diff --git a/.github/workflows/workflow-self-hosted-ubuntu.yml b/.github/workflows/workflow-self-hosted-ubuntu.yml index b9f47e1238..6972cd7c53 100644 --- a/.github/workflows/workflow-self-hosted-ubuntu.yml +++ b/.github/workflows/workflow-self-hosted-ubuntu.yml @@ -16,6 +16,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: build_ubuntu: name: ubuntu ci check diff --git a/bcos-sdk/tests/unittests/event/EventSubTest.cpp b/bcos-sdk/tests/unittests/event/EventSubTest.cpp index 71cf46c381..766d04c7b6 100644 --- a/bcos-sdk/tests/unittests/event/EventSubTest.cpp +++ b/bcos-sdk/tests/unittests/event/EventSubTest.cpp @@ -173,7 +173,7 @@ BOOST_AUTO_TEST_CASE(test_EventSub_unsubscribeEvent) { // task is running auto session = std::make_shared( - taskGroup, "test_EventSub_unsubscribeEvent"); + taskGroup); task->setSession(session); std::string resp = "{}"; @@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE(test_EventSub_unsubscribeEvent) { // task is running auto session = std::make_shared( - taskGroup, "test_EventSub_unsubscribeEvent"); + taskGroup); task->setSession(session);