From 86dd8a7c110548212084fded1ff0dd2237f1d0cf Mon Sep 17 00:00:00 2001 From: provenceee <83857838+provenceee@users.noreply.github.com> Date: Tue, 12 Nov 2024 11:19:38 +0800 Subject: [PATCH] *upgrade action version Signed-off-by: provenceee <83857838+provenceee@users.noreply.github.com> --- .github/actions/common/agentcore/action.yml | 12 +-- .github/actions/common/backend/action.yml | 8 +- .../database-write-prohibition/action.yml | 8 +- .github/actions/common/dubbo/action.yml | 8 +- .../common/mq-consume-prohibition/action.yml | 8 +- .../common/plugin-change-check/action.yml | 94 +++++++++---------- .github/actions/common/spring/action.yml | 12 +-- .../common/tag-transmission/action.yml | 8 +- .github/actions/common/xds-service/action.yml | 6 +- .../scenarios/agentcore/agentmain/action.yml | 2 +- .../scenarios/agentcore/common/action.yml | 2 +- .../agentcore/dynamic-config/action.yml | 2 +- .../scenarios/agentcore/dynamic/action.yml | 2 +- .../scenarios/agentcore/premain/action.yml | 2 +- .../scenarios/backend/config/action.yml | 2 +- .../scenarios/backend/event/memory/action.yml | 4 +- .../scenarios/backend/event/redis/action.yml | 2 +- .../scenarios/backend/hot-plugging/action.yml | 2 +- .../mongodb/action.yml | 2 +- .../mysql/action.yml | 2 +- .../opengauss/action.yml | 2 +- .../postgresql/action.yml | 2 +- .../scenarios/dubbo/dubbo-common/action.yml | 2 +- .../scenarios/dubbo/lane-dubbo3/action.yml | 2 +- .../actions/scenarios/dubbo/lane/action.yml | 2 +- .../scenarios/dubbo/monitor/action.yml | 2 +- .../scenarios/dubbo/removal/action.yml | 2 +- .../scenarios/dubbo/router-dubbo3/action.yml | 2 +- .../actions/scenarios/dubbo/router/action.yml | 2 +- .../scenarios/dubbo/visibility/action.yml | 2 +- .../mq-consume-prohibition/kafka/action.yml | 4 +- .../rocketmq/rocketmq-one-topic/action.yml | 4 +- .../rocketmq/rocketmq-two-consumer/action.yml | 4 +- .../rocketmq/rocketmq-two-topic/action.yml | 4 +- .../spring/dynamic-config-nacos/action.yml | 2 +- .../spring/dynamic-config-zk/action.yml | 2 +- .../scenarios/spring/graceful/action.yml | 2 +- .../actions/scenarios/spring/lane/action.yml | 2 +- .../scenarios/spring/monitor/action.yml | 2 +- .../scenarios/spring/removal/action.yml | 2 +- .../spring/router/spring-router/action.yml | 2 +- .../router/spring-tag-az-router/action.yml | 2 +- .../router/spring-tag-router/action.yml | 2 +- .../scenarios/spring/spring-common/action.yml | 2 +- .../scenarios/spring/visibility/action.yml | 2 +- .../tag-transmission/alibaba-dubbo/action.yml | 2 +- .../tag-transmission/apache-dubbo/action.yml | 2 +- .../tag-transmission/config/action.yml | 2 +- .../tag-transmission/crossthread/action.yml | 2 +- .../tag-transmission/grpc/action.yml | 2 +- .../tag-transmission/httpclientv3/action.yml | 2 +- .../tag-transmission/httpclientv4/action.yml | 2 +- .../tag-transmission/jdkhttp-jetty/action.yml | 2 +- .../jdkhttp-tomcat/action.yml | 2 +- .../tag-transmission/kafka/action.yml | 4 +- .../tag-transmission/okhttp/action.yml | 2 +- .../tag-transmission/rocketmq/action.yml | 4 +- .../tag-transmission/servicecomb/action.yml | 6 +- .../tag-transmission/sofarpc/action.yml | 2 +- .github/workflows/Codecov.yml | 6 +- .../workflows/agentcore_integration_test.yml | 22 ++--- .github/workflows/agentcore_service_test.yml | 28 +++--- .../workflows/backend_integration_test.yml | 16 ++-- .github/workflows/create_release.yml | 4 +- ...ase_write_prohibition_integration_test.yml | 20 ++-- .github/workflows/dubbo_integration_test.yml | 16 ++-- .github/workflows/generate_release_note.yml | 2 +- .github/workflows/maven.yml | 6 +- ...q_consume_prohibition_integration_test.yml | 24 ++--- .../publish_maven_central_warehouse.yml | 4 +- .../workflows/spring_integration_test_1.yml | 18 ++-- .../workflows/spring_integration_test_2.yml | 18 ++-- .../tagtransmission_integration_test.yml | 48 +++++----- sermant-integration-tests/README-zh.md | 28 +++--- sermant-integration-tests/README.md | 28 +++--- 75 files changed, 285 insertions(+), 285 deletions(-) diff --git a/.github/actions/common/agentcore/action.yml b/.github/actions/common/agentcore/action.yml index 3042b682b7..22ed748a32 100644 --- a/.github/actions/common/agentcore/action.yml +++ b/.github/actions/common/agentcore/action.yml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: download zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -20,7 +20,7 @@ runs: tar -zxf apache-zookeeper-3.6.3-bin.tar.gz bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg - name: download local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -32,7 +32,7 @@ runs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/startCse.sh - name: download nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-2.1.0.tar.gz key: ${{ runner.os }}-nacos-server-2.1.0 @@ -44,14 +44,14 @@ runs: tar -zxf nacos-server-2.1.0.tar.gz bash nacos/bin/startup.sh -m standalone - name: cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: download agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} diff --git a/.github/actions/common/backend/action.yml b/.github/actions/common/backend/action.yml index a6eb2bcb96..cb6c872389 100644 --- a/.github/actions/common/backend/action.yml +++ b/.github/actions/common/backend/action.yml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: download middlewares - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | apache-zookeeper-*/ @@ -19,7 +19,7 @@ runs: shell: bash run: bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg - name: download local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -31,7 +31,7 @@ runs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/startCse.sh - name: download nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-2.1.0.tar.gz key: ${{ runner.os }}-nacos-server-2.1.0 diff --git a/.github/actions/common/database-write-prohibition/action.yml b/.github/actions/common/database-write-prohibition/action.yml index 3c1afdce4e..69248e1be7 100644 --- a/.github/actions/common/database-write-prohibition/action.yml +++ b/.github/actions/common/database-write-prohibition/action.yml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: get zookeeper from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -20,14 +20,14 @@ runs: tar -zxf apache-zookeeper-3.6.3-bin.tar.gz bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg - name: cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} diff --git a/.github/actions/common/dubbo/action.yml b/.github/actions/common/dubbo/action.yml index 0489aa0e44..28ae5148ec 100644 --- a/.github/actions/common/dubbo/action.yml +++ b/.github/actions/common/dubbo/action.yml @@ -4,20 +4,20 @@ runs: using: "composite" steps: - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: download middlewares - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | apache-zookeeper-*/ Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-middlewares-${{ github.run_id }} - name: download agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -30,7 +30,7 @@ runs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/startCse.sh - name: cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/actions/common/mq-consume-prohibition/action.yml b/.github/actions/common/mq-consume-prohibition/action.yml index 4d316c8e13..92b8428cfb 100644 --- a/.github/actions/common/mq-consume-prohibition/action.yml +++ b/.github/actions/common/mq-consume-prohibition/action.yml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: get zookeeper from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -20,14 +20,14 @@ runs: tar -zxf apache-zookeeper-3.6.3-bin.tar.gz bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg - name: cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} diff --git a/.github/actions/common/plugin-change-check/action.yml b/.github/actions/common/plugin-change-check/action.yml index a5075e5cd5..39cd81b572 100644 --- a/.github/actions/common/plugin-change-check/action.yml +++ b/.github/actions/common/plugin-change-check/action.yml @@ -3,7 +3,7 @@ description: "check file change for all plugins" runs: using: "composite" steps: - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-agentcore with: paths: sermant-agentcore @@ -11,7 +11,7 @@ runs: shell: bash run: | echo "sermantAgentCoreChanged=${{ steps.changed-sermant-agentcore.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-agentcore-dynamic-config with: paths: sermant-agentcore/sermant-agentcore-implement/src/main/java/io/sermant/implement/service/dynamicconfig @@ -25,7 +25,7 @@ runs: shell: bash run: | echo "sermantAgentCoreDynamicConfigServiceChanged=${{ steps.changed-sermant-agentcore-dynamic-config.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-agentcore-xds with: paths: sermant-agentcore/sermant-agentcore-implement/src/main/java/io/sermant/implement/service/xds @@ -40,7 +40,7 @@ runs: shell: bash run: | echo "sermantAgentCoreXdsServiceChanged=${{ steps.changed-sermant-agentcore-xds.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-router with: paths: sermant-plugins/sermant-router @@ -48,7 +48,7 @@ runs: shell: bash run: | echo "sermantRouterChanged=${{ steps.changed-sermant-router.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-flowcontrol with: paths: sermant-plugins/sermant-flowcontrol @@ -56,7 +56,7 @@ runs: shell: bash run: | echo "sermantFlowcontrolChanged=${{ steps.changed-sermant-flowcontrol.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-dynamic-config with: paths: sermant-plugins/sermant-dynamic-config @@ -64,7 +64,7 @@ runs: shell: bash run: | echo "sermantDynamicConfigChanged=${{ steps.changed-sermant-dynamic-config.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-loadbalancer with: paths: sermant-plugins/sermant-loadbalancer @@ -72,7 +72,7 @@ runs: shell: bash run: | echo "sermantLoadbalancerChanged=${{ steps.changed-sermant-loadbalancer.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-monitor with: paths: sermant-plugins/sermant-monitor ./.github/actions/scenarios/dubbo/monitor @@ -80,7 +80,7 @@ runs: shell: bash run: | echo "sermantMonitorChanged=${{ steps.changed-sermant-monitor.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-service-visibility with: paths: sermant-plugins/sermant-service-visibility ./.github/actions/scenarios/dubbo/visibility @@ -88,7 +88,7 @@ runs: shell: bash run: | echo "sermantServiceVisibilityChanged=${{ steps.changed-sermant-service-visibility.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-service-registry with: paths: sermant-plugins/sermant-service-registry @@ -96,7 +96,7 @@ runs: shell: bash run: | echo "sermantServiceRegistryChanged=${{ steps.changed-sermant-service-registry.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-springboot-registry with: paths: sermant-plugins/sermant-springboot-registry @@ -104,7 +104,7 @@ runs: shell: bash run: | echo "sermantSpringbootRegistryChanged=${{ steps.changed-sermant-springboot-registry.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-removal with: paths: sermant-plugins/sermant-service-removal ./.github/actions/scenarios/dubbo/removal @@ -112,7 +112,7 @@ runs: shell: bash run: | echo "sermantServiceRemovalChanged=${{ steps.changed-sermant-removal.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-mongodb-database-write-prohibition with: paths: sermant-plugins/sermant-database-write-prohibition/database-config-service @@ -129,7 +129,7 @@ runs: shell: bash run: | echo "mongodbDataBaseWriteProhibitionChanged=${{ steps.changed-mongodb-database-write-prohibition.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-mysql-database-write-prohibition with: paths: sermant-plugins/sermant-database-write-prohibition/database-config-service @@ -146,7 +146,7 @@ runs: shell: bash run: | echo "mysqlDataBaseWriteProhibitionChanged=${{ steps.changed-mysql-database-write-prohibition.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-opengauss-database-write-prohibition with: paths: sermant-plugins/sermant-database-write-prohibition/database-config-service @@ -162,7 +162,7 @@ runs: shell: bash run: | echo "opengaussDataBaseWritePprohibitionChanged=${{ steps.changed-opengauss-database-write-prohibition.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-opengauss-postgresql-database-write-prohibition with: paths: sermant-plugins/sermant-database-write-prohibition/database-config-service @@ -178,7 +178,7 @@ runs: shell: bash run: | echo "opengaussAndPostgresqlDataBaseWritePprohibitionChanged=${{ steps.changed-opengauss-postgresql-database-write-prohibition.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-kafka-consume-prohibition with: paths: sermant-plugins/sermant-mq-consume-prohibition/config-service @@ -191,7 +191,7 @@ runs: shell: bash run: | echo "kafkaConsumeProhibitionChanged=${{ steps.changed-kafka-consume-prohibition.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-rocketmq-consume-prohibition with: paths: sermant-plugins/sermant-mq-consume-prohibition/config-service @@ -209,7 +209,7 @@ runs: shell: bash run: | echo "rocketmqConsumeProhibitionChanged=${{ steps.changed-rocketmq-consume-prohibition.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-alibaba-dubbo with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -230,7 +230,7 @@ runs: shell: bash run: | echo "alibabaDubboTagTransmissionChanged=${{ steps.changed-tag-transmission-alibaba-dubbo.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-apache-dubbo with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -252,7 +252,7 @@ runs: shell: bash run: | echo "apacheDubboTagTransmissionChanged=${{ steps.changed-tag-transmission-apache-dubbo.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-grpc with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -273,7 +273,7 @@ runs: shell: bash run: | echo "grpcTagTransmissionChanged=${{ steps.changed-tag-transmission-grpc.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-httpclientV3 with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -292,7 +292,7 @@ runs: shell: bash run: | echo "httpclientV3TagTransmissionChanged=${{ steps.changed-tag-transmission-httpclientV3.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-httpclientV4 with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -311,7 +311,7 @@ runs: shell: bash run: | echo "httpclientV4TagTransmissionChanged=${{ steps.changed-tag-transmission-httpclientV4.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-jdkhttp-tomcat with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -332,7 +332,7 @@ runs: shell: bash run: | echo "tomcatTagTransmissionChanged=${{ steps.changed-tag-transmission-jdkhttp-tomcat.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-jdkhttp-jetty with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -353,7 +353,7 @@ runs: shell: bash run: | echo "jettyTagTransmissionChanged=${{ steps.changed-tag-transmission-jdkhttp-jetty.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-kafka with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -374,7 +374,7 @@ runs: shell: bash run: | echo "kafkaTagTransmissionChanged=${{ steps.changed-tag-transmission-kafka.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-okhttp with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -393,7 +393,7 @@ runs: shell: bash run: | echo "okhttpTagTransmissionChanged=${{ steps.changed-tag-transmission-okhttp.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-rocketmq with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -415,7 +415,7 @@ runs: shell: bash run: | echo "rocketmqTagTransmissionChanged=${{ steps.changed-tag-transmission-rocketmq.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-servicecomb with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -436,7 +436,7 @@ runs: shell: bash run: | echo "servicecombTagTransmissionChanged=${{ steps.changed-tag-transmission-servicecomb.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-sofarpc with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -457,7 +457,7 @@ runs: shell: bash run: | echo "sofarpcTagTransmissionChanged=${{ steps.changed-tag-transmission-sofarpc.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-config with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -476,7 +476,7 @@ runs: shell: bash run: | echo "configTagTransmissionChanged=${{ steps.changed-tag-transmission-config.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-tag-transmission-crossthread with: paths: sermant-plugins/sermant-tag-transmission/tag-transmission-common @@ -494,7 +494,7 @@ runs: shell: bash run: | echo "crossthreadTagTransmissionChanged=${{ steps.changed-tag-transmission-crossthread.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-dubbo-router-action with: paths: ./.github/actions/scenarios/dubbo/router ./.github/actions/common/dubbo ./.github/workflows/dubbo_integration_test.yml @@ -502,7 +502,7 @@ runs: shell: bash run: | echo "enableDubboRouterActionChange=${{ steps.changed-dubbo-router-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-dubbo3-router-action with: paths: ./.github/actions/scenarios/dubbo/router-dubbo3 ./.github/actions/common/dubbo ./.github/workflows/dubbo_integration_test.yml @@ -510,7 +510,7 @@ runs: shell: bash run: | echo "enableDubbo3RouterActionChange=${{ steps.changed-dubbo3-router-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-dubbo-common-action with: paths: ./.github/actions/scenarios/dubbo/dubbo-common ./.github/actions/common/dubbo ./.github/workflows/dubbo_integration_test.yml @@ -518,7 +518,7 @@ runs: shell: bash run: | echo "enableDubboCommonActionChange=${{ steps.changed-dubbo-common-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-dubbo-lane-action with: paths: ./.github/actions/scenarios/dubbo/lane ./.github/actions/common/dubbo ./.github/workflows/dubbo_integration_test.yml @@ -526,7 +526,7 @@ runs: shell: bash run: | echo "enableDubboLaneActionChange=${{ steps.changed-dubbo-lane-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-dubbo3-lane-action with: paths: ./.github/actions/scenarios/dubbo/lane-dubbo3 ./.github/actions/common/dubbo ./.github/workflows/dubbo_integration_test.yml @@ -534,7 +534,7 @@ runs: shell: bash run: | echo "enableDubbo3LaneActionChange=${{ steps.changed-dubbo3-lane-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-graceful-action with: paths: ./.github/actions/scenarios/spring/graceful ./.github/actions/common/spring ./.github/workflows/spring_integration_test_1.yml @@ -542,7 +542,7 @@ runs: shell: bash run: | echo "enableGracefulActionChange=${{ steps.changed-graceful-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-spring-common-action with: paths: ./.github/actions/scenarios/spring/spring-common ./.github/actions/common/spring ./.github/workflows/spring_integration_test_1.yml @@ -550,7 +550,7 @@ runs: shell: bash run: | echo "enableSpringCommonActionChange=${{ steps.changed-spring-common-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-spring-common-action2 with: paths: ./.github/actions/scenarios/spring/spring-common ./.github/actions/common/spring ./.github/workflows/spring_integration_test_2.yml @@ -558,7 +558,7 @@ runs: shell: bash run: | echo "enableSpringCommonActionChange2=${{ steps.changed-spring-common-action2.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-dynamic-config-action with: paths: ./.github/actions/scenarios/spring/dynamic-config-nacos @@ -569,7 +569,7 @@ runs: shell: bash run: | echo "enableDynamicConfigActionChange=${{ steps.changed-dynamic-config-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-spring-router-action with: paths: ./.github/actions/scenarios/spring/router/spring-router @@ -579,7 +579,7 @@ runs: shell: bash run: | echo "enableSpringRouterActionChange=${{ steps.changed-spring-router-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-spring-tag-router-action with: paths: ./.github/actions/scenarios/spring/router/spring-tag-router @@ -589,7 +589,7 @@ runs: shell: bash run: | echo "enableSpringTagRouterActionChange=${{ steps.changed-spring-tag-router-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-spring-tag-az-router-action with: paths: ./.github/actions/scenarios/spring/router/spring-tag-az-router @@ -599,7 +599,7 @@ runs: shell: bash run: | echo "enableSpringTagAzRouterActionChange=${{ steps.changed-spring-tag-az-router-action.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-spring-test with: paths: sermant-integration-tests/spring-test @@ -607,7 +607,7 @@ runs: shell: bash run: | echo "enableSpringTestChange=${{ steps.changed-spring-test.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-dubbo-test with: paths: sermant-integration-tests/dubbo-test @@ -615,7 +615,7 @@ runs: shell: bash run: | echo "enableDubboTestChange=${{ steps.changed-dubbo-test.outputs.changed }}" >> $GITHUB_ENV - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-common-action with: paths: ./.github/actions/common/plugin-change-check ./.github/actions/common/entry ./.github/actions/common/exit diff --git a/.github/actions/common/spring/action.yml b/.github/actions/common/spring/action.yml index 07f19b6238..a786ea23a5 100644 --- a/.github/actions/common/spring/action.yml +++ b/.github/actions/common/spring/action.yml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: download zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -20,7 +20,7 @@ runs: tar -zxf apache-zookeeper-3.6.3-bin.tar.gz bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg - name: download local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -32,7 +32,7 @@ runs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/startCse.sh - name: download nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-1.4.2.tar.gz key: ${{ runner.os }}-nacos-server-1.4.2 @@ -44,14 +44,14 @@ runs: tar -zxf nacos-server-1.4.2.tar.gz bash nacos/bin/startup.sh -m standalone - name: cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: download agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} diff --git a/.github/actions/common/tag-transmission/action.yml b/.github/actions/common/tag-transmission/action.yml index fe99f4be07..7d4343f3e5 100644 --- a/.github/actions/common/tag-transmission/action.yml +++ b/.github/actions/common/tag-transmission/action.yml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: get zookeeper from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -20,14 +20,14 @@ runs: tar -zxf apache-zookeeper-3.6.3-bin.tar.gz bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg - name: cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} diff --git a/.github/actions/common/xds-service/action.yml b/.github/actions/common/xds-service/action.yml index 525e412f47..bb8a6ff2fb 100644 --- a/.github/actions/common/xds-service/action.yml +++ b/.github/actions/common/xds-service/action.yml @@ -30,18 +30,18 @@ runs: sleep 10s kubectl get pods -n istio-system - name: Set up JDK ${{ env.javaVersion }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.javaVersion }} distribution: 'adopt' cache: maven - name: get cached agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} - name: get cached xds service package - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-integration-tests/xds-service-test/product/sermant-agent-*/ key: ${{ runner.os }}-xds-service-product-agent-${{ github.run_id }} diff --git a/.github/actions/scenarios/agentcore/agentmain/action.yml b/.github/actions/scenarios/agentcore/agentmain/action.yml index 50632a1647..00df179cc8 100644 --- a/.github/actions/scenarios/agentcore/agentmain/action.yml +++ b/.github/actions/scenarios/agentcore/agentmain/action.yml @@ -58,7 +58,7 @@ runs: with: processor-keyword: agentcore - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: agentcore-test-agentmain-logs diff --git a/.github/actions/scenarios/agentcore/common/action.yml b/.github/actions/scenarios/agentcore/common/action.yml index 4ce216a290..15bf592041 100644 --- a/.github/actions/scenarios/agentcore/common/action.yml +++ b/.github/actions/scenarios/agentcore/common/action.yml @@ -37,7 +37,7 @@ runs: with: processor-keyword: agentcore - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: agentcore-test-common-logs diff --git a/.github/actions/scenarios/agentcore/dynamic-config/action.yml b/.github/actions/scenarios/agentcore/dynamic-config/action.yml index ed7f005d58..64955fd222 100644 --- a/.github/actions/scenarios/agentcore/dynamic-config/action.yml +++ b/.github/actions/scenarios/agentcore/dynamic-config/action.yml @@ -30,7 +30,7 @@ runs: with: processor-keyword: agentcore - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: agentcore-test-dynamic-config-logs diff --git a/.github/actions/scenarios/agentcore/dynamic/action.yml b/.github/actions/scenarios/agentcore/dynamic/action.yml index db009ef43e..070ad54631 100644 --- a/.github/actions/scenarios/agentcore/dynamic/action.yml +++ b/.github/actions/scenarios/agentcore/dynamic/action.yml @@ -81,7 +81,7 @@ runs: with: processor-keyword: agentcore - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: agentcore-test-dynamic-logs diff --git a/.github/actions/scenarios/agentcore/premain/action.yml b/.github/actions/scenarios/agentcore/premain/action.yml index af0ee03a72..b72c469b0b 100644 --- a/.github/actions/scenarios/agentcore/premain/action.yml +++ b/.github/actions/scenarios/agentcore/premain/action.yml @@ -45,7 +45,7 @@ runs: with: processor-keyword: agentcore - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: agentcore-test-premain-logs diff --git a/.github/actions/scenarios/backend/config/action.yml b/.github/actions/scenarios/backend/config/action.yml index 2f4e88dbc9..cb05d180ea 100644 --- a/.github/actions/scenarios/backend/config/action.yml +++ b/.github/actions/scenarios/backend/config/action.yml @@ -51,7 +51,7 @@ runs: netstat -nlp | grep :8902 | awk '{print $7}' | awk -F "/" '{print $1}' | xargs kill netstat -nlp | grep :8903 | awk '{print $7}' | awk -F "/" '{print $1}' | xargs kill - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-backend-logs diff --git a/.github/actions/scenarios/backend/event/memory/action.yml b/.github/actions/scenarios/backend/event/memory/action.yml index f5bee431fb..37af0ebca3 100644 --- a/.github/actions/scenarios/backend/event/memory/action.yml +++ b/.github/actions/scenarios/backend/event/memory/action.yml @@ -4,7 +4,7 @@ runs: using: "composite" steps: - name: download agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -52,7 +52,7 @@ runs: run: | netstat -nlp | grep :8900 | awk '{print $7}' | awk -F "/" '{print $1}' | xargs kill - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-backend-logs diff --git a/.github/actions/scenarios/backend/event/redis/action.yml b/.github/actions/scenarios/backend/event/redis/action.yml index 677a2f3689..d12db858b7 100644 --- a/.github/actions/scenarios/backend/event/redis/action.yml +++ b/.github/actions/scenarios/backend/event/redis/action.yml @@ -46,7 +46,7 @@ runs: run: | python -m unittest ./sermant-integration-tests/scripts/test_backend_event.py - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-backend-logs diff --git a/.github/actions/scenarios/backend/hot-plugging/action.yml b/.github/actions/scenarios/backend/hot-plugging/action.yml index 8628ad390c..810b1c70c4 100644 --- a/.github/actions/scenarios/backend/hot-plugging/action.yml +++ b/.github/actions/scenarios/backend/hot-plugging/action.yml @@ -72,7 +72,7 @@ runs: with: processor-keyword: agentcore|backend - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-backend-logs diff --git a/.github/actions/scenarios/database-write-prohibition/mongodb/action.yml b/.github/actions/scenarios/database-write-prohibition/mongodb/action.yml index caf6ee36dc..407d1b7ea4 100644 --- a/.github/actions/scenarios/database-write-prohibition/mongodb/action.yml +++ b/.github/actions/scenarios/database-write-prohibition/mongodb/action.yml @@ -47,7 +47,7 @@ runs: with: processor-keyword: mongo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-database-write-prohibition-mongodb-(${{ matrix.mongodbClientVersion }})-logs diff --git a/.github/actions/scenarios/database-write-prohibition/mysql/action.yml b/.github/actions/scenarios/database-write-prohibition/mysql/action.yml index 7448e52407..168d039ae3 100644 --- a/.github/actions/scenarios/database-write-prohibition/mysql/action.yml +++ b/.github/actions/scenarios/database-write-prohibition/mysql/action.yml @@ -45,7 +45,7 @@ runs: with: processor-keyword: mariadb - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-database-write-prohibition-mariadb-(${{ matrix.mysqlClientVersion }})-logs diff --git a/.github/actions/scenarios/database-write-prohibition/opengauss/action.yml b/.github/actions/scenarios/database-write-prohibition/opengauss/action.yml index e0a864f4f7..b0f5845f62 100644 --- a/.github/actions/scenarios/database-write-prohibition/opengauss/action.yml +++ b/.github/actions/scenarios/database-write-prohibition/opengauss/action.yml @@ -63,7 +63,7 @@ runs: with: processor-keyword: postgresql - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-database-write-prohibition-opengauss-${{ matrix.opengaussVersion }}-logs diff --git a/.github/actions/scenarios/database-write-prohibition/postgresql/action.yml b/.github/actions/scenarios/database-write-prohibition/postgresql/action.yml index f88ace36e6..70c52faba4 100644 --- a/.github/actions/scenarios/database-write-prohibition/postgresql/action.yml +++ b/.github/actions/scenarios/database-write-prohibition/postgresql/action.yml @@ -55,7 +55,7 @@ runs: with: processor-keyword: postgresql - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-database-write-prohibition-postgresql-${{ matrix.postgresqlVersion }}-logs diff --git a/.github/actions/scenarios/dubbo/dubbo-common/action.yml b/.github/actions/scenarios/dubbo/dubbo-common/action.yml index 9c31c10bb3..b83f1102ab 100644 --- a/.github/actions/scenarios/dubbo/dubbo-common/action.yml +++ b/.github/actions/scenarios/dubbo/dubbo-common/action.yml @@ -128,7 +128,7 @@ runs: with: processor-keyword: dubbo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (test-for-dubbo)-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/dubbo/lane-dubbo3/action.yml b/.github/actions/scenarios/dubbo/lane-dubbo3/action.yml index dcd9fd9e2f..182ddcddbb 100644 --- a/.github/actions/scenarios/dubbo/lane-dubbo3/action.yml +++ b/.github/actions/scenarios/dubbo/lane-dubbo3/action.yml @@ -119,7 +119,7 @@ runs: with: processor-keyword: dubbo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (test-for-dubbo-lane)-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/dubbo/lane/action.yml b/.github/actions/scenarios/dubbo/lane/action.yml index 4b7f3017f6..7a6d725060 100644 --- a/.github/actions/scenarios/dubbo/lane/action.yml +++ b/.github/actions/scenarios/dubbo/lane/action.yml @@ -131,7 +131,7 @@ runs: with: processor-keyword: dubbo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (test-for-dubbo-lane)-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/dubbo/monitor/action.yml b/.github/actions/scenarios/dubbo/monitor/action.yml index 82df14c79a..c34641725f 100644 --- a/.github/actions/scenarios/dubbo/monitor/action.yml +++ b/.github/actions/scenarios/dubbo/monitor/action.yml @@ -56,7 +56,7 @@ runs: with: processor-keyword: dubbo - name: upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: monitor-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/dubbo/removal/action.yml b/.github/actions/scenarios/dubbo/removal/action.yml index 41eacde5ec..67063dcf3b 100644 --- a/.github/actions/scenarios/dubbo/removal/action.yml +++ b/.github/actions/scenarios/dubbo/removal/action.yml @@ -80,7 +80,7 @@ with: processor-keyword: dubbo - name: upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: removal-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/dubbo/router-dubbo3/action.yml b/.github/actions/scenarios/dubbo/router-dubbo3/action.yml index 949f38df26..671c532daf 100644 --- a/.github/actions/scenarios/dubbo/router-dubbo3/action.yml +++ b/.github/actions/scenarios/dubbo/router-dubbo3/action.yml @@ -143,7 +143,7 @@ runs: with: processor-keyword: dubbo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (test-for-dubbo3-router)-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/dubbo/router/action.yml b/.github/actions/scenarios/dubbo/router/action.yml index 69224afa2b..eb9f7e53fa 100644 --- a/.github/actions/scenarios/dubbo/router/action.yml +++ b/.github/actions/scenarios/dubbo/router/action.yml @@ -200,7 +200,7 @@ runs: with: processor-keyword: dubbo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (test-for-dubbo-router)-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/dubbo/visibility/action.yml b/.github/actions/scenarios/dubbo/visibility/action.yml index 7ae368ea5b..7a5e97e1cd 100644 --- a/.github/actions/scenarios/dubbo/visibility/action.yml +++ b/.github/actions/scenarios/dubbo/visibility/action.yml @@ -64,7 +64,7 @@ runs: with: processor-keyword: dubbo - name: upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: visibility-(${{ matrix.dubbo-version }}-${{ matrix.dubbo-versions }})-logs diff --git a/.github/actions/scenarios/mq-consume-prohibition/kafka/action.yml b/.github/actions/scenarios/mq-consume-prohibition/kafka/action.yml index d83de5ef8f..1d9ee1887b 100644 --- a/.github/actions/scenarios/mq-consume-prohibition/kafka/action.yml +++ b/.github/actions/scenarios/mq-consume-prohibition/kafka/action.yml @@ -8,7 +8,7 @@ runs: with: log-dir: ./logs/mq-consume-prohibition/kafka - name: get kafka from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: kafka_2.13-2.7.0.tgz key: ${{ runner.os }}-kafka_2.13-2.7.0 @@ -55,7 +55,7 @@ runs: with: processor-keyword: mq-consume-prohibition|kafka - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-mq-consume-prohibition-kafka-(${{ matrix.kafkaVersion }}-logs diff --git a/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-one-topic/action.yml b/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-one-topic/action.yml index e8acf0ca0f..89ff0b6a4f 100644 --- a/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-one-topic/action.yml +++ b/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-one-topic/action.yml @@ -8,7 +8,7 @@ runs: with: log-dir: ./logs/mq-consume-prohibition/rocketmq-one-topic - name: get rocketmq from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: rocketmq-all-5.1.4-bin-release.zip key: ${{ runner.os }}-rocketmq-all-5.1.4-bin-release @@ -74,7 +74,7 @@ runs: with: processor-keyword: rocketmq - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-mq-consume-prohibition-rocketmq-one-topic-(${{ matrix.rocketMqVersion }}-logs diff --git a/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-consumer/action.yml b/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-consumer/action.yml index 4b135f9c01..37a5cce6b8 100644 --- a/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-consumer/action.yml +++ b/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-consumer/action.yml @@ -8,7 +8,7 @@ runs: with: log-dir: ./logs/mq-consume-prohibition/rocketmq-two-consumer - name: get rocketmq from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: rocketmq-all-5.1.4-bin-release.zip key: ${{ runner.os }}-rocketmq-all-5.1.4-bin-release @@ -79,7 +79,7 @@ runs: with: processor-keyword: rocketmq - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-mq-consume-prohibition-rocketmq-two-consumer-(${{ matrix.rocketMqVersion }}-logs diff --git a/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-topic/action.yml b/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-topic/action.yml index b0099678be..6ffdefca28 100644 --- a/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-topic/action.yml +++ b/.github/actions/scenarios/mq-consume-prohibition/rocketmq/rocketmq-two-topic/action.yml @@ -8,7 +8,7 @@ runs: with: log-dir: ./logs/mq-consume-prohibition/rocketmq-two-topic - name: get rocketmq from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: rocketmq-all-5.1.4-bin-release.zip key: ${{ runner.os }}-rocketmq-all-5.1.4-bin-release @@ -67,7 +67,7 @@ runs: with: processor-keyword: rocketmq - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-mq-consume-prohibition-rocketmq-two-topic-(${{ matrix.rocketMqVersion }}-logs diff --git a/.github/actions/scenarios/spring/dynamic-config-nacos/action.yml b/.github/actions/scenarios/spring/dynamic-config-nacos/action.yml index 5ddff40eac..1c7ebe84f0 100644 --- a/.github/actions/scenarios/spring/dynamic-config-nacos/action.yml +++ b/.github/actions/scenarios/spring/dynamic-config-nacos/action.yml @@ -62,7 +62,7 @@ runs: with: processor-keyword: nacos-config - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-dynamic-config-nacos-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion}})-logs diff --git a/.github/actions/scenarios/spring/dynamic-config-zk/action.yml b/.github/actions/scenarios/spring/dynamic-config-zk/action.yml index 18d59d56d0..66a58a1554 100644 --- a/.github/actions/scenarios/spring/dynamic-config-zk/action.yml +++ b/.github/actions/scenarios/spring/dynamic-config-zk/action.yml @@ -61,7 +61,7 @@ runs: with: processor-keyword: zookeeper-config - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-dynamic-config-zk-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion}})-logs diff --git a/.github/actions/scenarios/spring/graceful/action.yml b/.github/actions/scenarios/spring/graceful/action.yml index 89458bb603..a10ffe5417 100644 --- a/.github/actions/scenarios/spring/graceful/action.yml +++ b/.github/actions/scenarios/spring/graceful/action.yml @@ -90,7 +90,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-graceful-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/lane/action.yml b/.github/actions/scenarios/spring/lane/action.yml index a793c791bd..66965dec24 100644 --- a/.github/actions/scenarios/spring/lane/action.yml +++ b/.github/actions/scenarios/spring/lane/action.yml @@ -204,7 +204,7 @@ runs: with: processor-keyword: feign|rest|zuul|gateway - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-lane-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/monitor/action.yml b/.github/actions/scenarios/spring/monitor/action.yml index 9ef0467d55..cbf7d08337 100644 --- a/.github/actions/scenarios/spring/monitor/action.yml +++ b/.github/actions/scenarios/spring/monitor/action.yml @@ -50,7 +50,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-monitor-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/removal/action.yml b/.github/actions/scenarios/spring/removal/action.yml index ef7203e874..b46753ed50 100644 --- a/.github/actions/scenarios/spring/removal/action.yml +++ b/.github/actions/scenarios/spring/removal/action.yml @@ -164,7 +164,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-graceful-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/router/spring-router/action.yml b/.github/actions/scenarios/spring/router/spring-router/action.yml index 3f6aa5561c..8efacb14f8 100644 --- a/.github/actions/scenarios/spring/router/spring-router/action.yml +++ b/.github/actions/scenarios/spring/router/spring-router/action.yml @@ -197,7 +197,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-request-router-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/router/spring-tag-az-router/action.yml b/.github/actions/scenarios/spring/router/spring-tag-az-router/action.yml index dafec2738b..d3706d5e67 100644 --- a/.github/actions/scenarios/spring/router/spring-tag-az-router/action.yml +++ b/.github/actions/scenarios/spring/router/spring-tag-az-router/action.yml @@ -270,7 +270,7 @@ runs: with: processor-keyword: feign|rest|zuul|gateway - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-az-router-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/router/spring-tag-router/action.yml b/.github/actions/scenarios/spring/router/spring-tag-router/action.yml index e212ae4397..edfca9703c 100644 --- a/.github/actions/scenarios/spring/router/spring-tag-router/action.yml +++ b/.github/actions/scenarios/spring/router/spring-tag-router/action.yml @@ -228,7 +228,7 @@ runs: with: processor-keyword: feign|rest|zuul|gateway - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-router-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/spring-common/action.yml b/.github/actions/scenarios/spring/spring-common/action.yml index 1f55aaed69..6d33835de3 100644 --- a/.github/actions/scenarios/spring/spring-common/action.yml +++ b/.github/actions/scenarios/spring/spring-common/action.yml @@ -77,7 +77,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-spring-common-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/spring/visibility/action.yml b/.github/actions/scenarios/spring/visibility/action.yml index d3f262f325..5faabf59ec 100644 --- a/.github/actions/scenarios/spring/visibility/action.yml +++ b/.github/actions/scenarios/spring/visibility/action.yml @@ -58,7 +58,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-visibility-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/.github/actions/scenarios/tag-transmission/alibaba-dubbo/action.yml b/.github/actions/scenarios/tag-transmission/alibaba-dubbo/action.yml index 14161b7fbb..55debe1b5d 100644 --- a/.github/actions/scenarios/tag-transmission/alibaba-dubbo/action.yml +++ b/.github/actions/scenarios/tag-transmission/alibaba-dubbo/action.yml @@ -50,7 +50,7 @@ runs: with: processor-keyword: httpserver-common|alibaba-dubbo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-alibaba-dubbo-(${{ matrix.alibabaDubboVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/apache-dubbo/action.yml b/.github/actions/scenarios/tag-transmission/apache-dubbo/action.yml index f2ef7c2856..f3ab281955 100644 --- a/.github/actions/scenarios/tag-transmission/apache-dubbo/action.yml +++ b/.github/actions/scenarios/tag-transmission/apache-dubbo/action.yml @@ -42,7 +42,7 @@ runs: with: processor-keyword: httpserver-common|apache-dubbo - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-apache-dubbo-(${{ matrix.apacheDubboVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/config/action.yml b/.github/actions/scenarios/tag-transmission/config/action.yml index b1a9338924..e90c5d04c4 100644 --- a/.github/actions/scenarios/tag-transmission/config/action.yml +++ b/.github/actions/scenarios/tag-transmission/config/action.yml @@ -35,7 +35,7 @@ runs: with: processor-keyword: httpserver-common|tomcat - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-config-logs diff --git a/.github/actions/scenarios/tag-transmission/crossthread/action.yml b/.github/actions/scenarios/tag-transmission/crossthread/action.yml index 4483fabd55..b0b9254a64 100644 --- a/.github/actions/scenarios/tag-transmission/crossthread/action.yml +++ b/.github/actions/scenarios/tag-transmission/crossthread/action.yml @@ -35,7 +35,7 @@ runs: with: processor-keyword: httpserver-common|crossthread - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-crossthread-logs diff --git a/.github/actions/scenarios/tag-transmission/grpc/action.yml b/.github/actions/scenarios/tag-transmission/grpc/action.yml index 7131ede2c5..2b0f77213c 100644 --- a/.github/actions/scenarios/tag-transmission/grpc/action.yml +++ b/.github/actions/scenarios/tag-transmission/grpc/action.yml @@ -41,7 +41,7 @@ runs: with: processor-keyword: httpserver-common|grpc - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-grpc-(${{ matrix.grpcVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/httpclientv3/action.yml b/.github/actions/scenarios/tag-transmission/httpclientv3/action.yml index de30cff6a1..d6e0521566 100644 --- a/.github/actions/scenarios/tag-transmission/httpclientv3/action.yml +++ b/.github/actions/scenarios/tag-transmission/httpclientv3/action.yml @@ -35,7 +35,7 @@ runs: with: processor-keyword: httpserver-common|httpclientv3 - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-httpclientv3-(${{ matrix.httpClientVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/httpclientv4/action.yml b/.github/actions/scenarios/tag-transmission/httpclientv4/action.yml index 116b25b44d..e2c5be13f1 100644 --- a/.github/actions/scenarios/tag-transmission/httpclientv4/action.yml +++ b/.github/actions/scenarios/tag-transmission/httpclientv4/action.yml @@ -35,7 +35,7 @@ runs: with: processor-keyword: httpserver-common|httpclientv4 - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-httpclientv4-(${{ matrix.httpClientVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/jdkhttp-jetty/action.yml b/.github/actions/scenarios/tag-transmission/jdkhttp-jetty/action.yml index 1a1f1a65de..5e2c64026a 100644 --- a/.github/actions/scenarios/tag-transmission/jdkhttp-jetty/action.yml +++ b/.github/actions/scenarios/tag-transmission/jdkhttp-jetty/action.yml @@ -42,7 +42,7 @@ runs: with: processor-keyword: httpserver-common|jdkhttp|jetty - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-jdkhttp-jetty-(${{ matrix.springBootVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/jdkhttp-tomcat/action.yml b/.github/actions/scenarios/tag-transmission/jdkhttp-tomcat/action.yml index 8ab02888f6..4a7582b4f1 100644 --- a/.github/actions/scenarios/tag-transmission/jdkhttp-tomcat/action.yml +++ b/.github/actions/scenarios/tag-transmission/jdkhttp-tomcat/action.yml @@ -42,7 +42,7 @@ runs: with: processor-keyword: httpserver-common|jdkhttp|tomcat - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-jdkhttp-tomcat-(${{ matrix.springBootVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/kafka/action.yml b/.github/actions/scenarios/tag-transmission/kafka/action.yml index 8edd351a87..8e357137c5 100644 --- a/.github/actions/scenarios/tag-transmission/kafka/action.yml +++ b/.github/actions/scenarios/tag-transmission/kafka/action.yml @@ -8,7 +8,7 @@ runs: with: log-dir: ./logs/tag-transmission/kafka - name: get kafka from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: kafka_2.13-2.7.0.tgz key: ${{ runner.os }}-kafka_2.13-2.7.0 @@ -54,7 +54,7 @@ runs: with: processor-keyword: httpserver-common|kafka - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-kafka-(${{ matrix.kafkaVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/okhttp/action.yml b/.github/actions/scenarios/tag-transmission/okhttp/action.yml index 95640f35f2..defa471bc7 100644 --- a/.github/actions/scenarios/tag-transmission/okhttp/action.yml +++ b/.github/actions/scenarios/tag-transmission/okhttp/action.yml @@ -35,7 +35,7 @@ runs: with: processor-keyword: httpserver-common|okhttp - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-okhttp-(${{ matrix.okHttpVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/rocketmq/action.yml b/.github/actions/scenarios/tag-transmission/rocketmq/action.yml index cfad41b3a3..8b3376352f 100644 --- a/.github/actions/scenarios/tag-transmission/rocketmq/action.yml +++ b/.github/actions/scenarios/tag-transmission/rocketmq/action.yml @@ -8,7 +8,7 @@ runs: with: log-dir: ./logs/tag-transmission/rocketmq - name: get rocketmq from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: rocketmq-all-4.8.0-bin-release.zip key: ${{ runner.os }}-rocketmq-all-4.8.0-bin-release @@ -61,7 +61,7 @@ runs: with: processor-keyword: httpserver-common|rocketmq - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-rocketmq-(${{ matrix.rocketMqVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/servicecomb/action.yml b/.github/actions/scenarios/tag-transmission/servicecomb/action.yml index 5c16b3f246..4fd8b0b37c 100644 --- a/.github/actions/scenarios/tag-transmission/servicecomb/action.yml +++ b/.github/actions/scenarios/tag-transmission/servicecomb/action.yml @@ -8,7 +8,7 @@ runs: with: log-dir: ./logs/tag-transmission/servicecomb - name: get local cse from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -20,7 +20,7 @@ runs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/startCse.sh - name: get nacos from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-1.4.2.tar.gz key: ${{ runner.os }}-nacos-server-1.4.2 @@ -65,7 +65,7 @@ runs: with: processor-keyword: httpserver-common|servicecomb - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-servicecomb-(${{ matrix.serviceCombVersion }}-logs diff --git a/.github/actions/scenarios/tag-transmission/sofarpc/action.yml b/.github/actions/scenarios/tag-transmission/sofarpc/action.yml index b6571f3d37..f981bbfc3a 100644 --- a/.github/actions/scenarios/tag-transmission/sofarpc/action.yml +++ b/.github/actions/scenarios/tag-transmission/sofarpc/action.yml @@ -41,7 +41,7 @@ runs: with: processor-keyword: httpserver-common|sofarpc - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-tag-transmission-sofarpc-(${{ matrix.sofaRpcVersion }}-logs diff --git a/.github/workflows/Codecov.yml b/.github/workflows/Codecov.yml index e3166e0ded..1bf5e0be20 100644 --- a/.github/workflows/Codecov.yml +++ b/.github/workflows/Codecov.yml @@ -18,15 +18,15 @@ jobs: statuses: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java_version }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java_version }} distribution: 'adopt' cache: maven - name: Cache Maven packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/agentcore_integration_test.yml b/.github/workflows/agentcore_integration_test.yml index 489b0c7556..3114253498 100644 --- a/.github/workflows/agentcore_integration_test.yml +++ b/.github/workflows/agentcore_integration_test.yml @@ -23,9 +23,9 @@ jobs: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -36,7 +36,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -47,7 +47,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-2.1.0.tar.gz key: ${{ runner.os }}-nacos-server-2.1.0 @@ -61,15 +61,15 @@ jobs: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -95,7 +95,7 @@ jobs: runs-on: ubuntu-latest needs: [build-agent-and-cache, download-midwares-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -110,7 +110,7 @@ jobs: runs-on: ubuntu-latest needs: [build-agent-and-cache, download-midwares-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -125,7 +125,7 @@ jobs: runs-on: ubuntu-latest needs: [build-agent-and-cache, download-midwares-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -140,7 +140,7 @@ jobs: runs-on: ubuntu-latest needs: [build-agent-and-cache, download-midwares-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/.github/workflows/agentcore_service_test.yml b/.github/workflows/agentcore_service_test.yml index d527f536d0..db5561191a 100644 --- a/.github/workflows/agentcore_service_test.yml +++ b/.github/workflows/agentcore_service_test.yml @@ -30,7 +30,7 @@ jobs: name: set-execution-conditions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: plugin-change-check @@ -50,9 +50,9 @@ jobs: if: needs.set-execution-conditions.outputs.enableDynamicConfigServicAction == 'true' needs: [ set-execution-conditions ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -63,7 +63,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -74,7 +74,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-2.1.0.tar.gz key: ${{ runner.os }}-nacos-server-2.1.0 @@ -90,20 +90,20 @@ jobs: if: needs.set-execution-conditions.outputs.enableDynamicConfigServicAction == 'true' || needs.set-execution-conditions.outputs.enableXdsServicAction == 'true' needs: [set-execution-conditions] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} - name: cache xds service package - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-integration-tests/xds-service-test/product/sermant-agent-*/ key: ${{ runner.os }}-xds-service-product-agent-${{ github.run_id }} @@ -137,7 +137,7 @@ jobs: dynamicConfigType: "ZOOKEEPER" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -153,7 +153,7 @@ jobs: if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true' needs: [set-execution-conditions, build-agent-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -169,7 +169,7 @@ jobs: if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true' needs: [set-execution-conditions, build-agent-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -185,7 +185,7 @@ jobs: if: needs.set-execution-conditions.outputs.enableXdsServicAction == 'true' needs: [set-execution-conditions, build-agent-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -254,7 +254,7 @@ jobs: httpAsyncClientVersion: "4.1.5" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/.github/workflows/backend_integration_test.yml b/.github/workflows/backend_integration_test.yml index ad0c50114e..d7c01f2e98 100644 --- a/.github/workflows/backend_integration_test.yml +++ b/.github/workflows/backend_integration_test.yml @@ -23,9 +23,9 @@ jobs: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: cache middlewares - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | apache-zookeeper-*/ @@ -36,7 +36,7 @@ jobs: bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk tar -zxf apache-zookeeper-3.6.3-bin.tar.gz - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -47,7 +47,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-2.1.0.tar.gz key: ${{ runner.os }}-nacos-server-2.1.0 @@ -61,15 +61,15 @@ jobs: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -88,7 +88,7 @@ jobs: runs-on: ubuntu-latest needs: [ build-agent-and-cache, download-midwares-and-cache ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: set java version to environment run: | echo "javaVersion=8" >> $GITHUB_ENV diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 598bd3c66e..a213514fe1 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -19,9 +19,9 @@ jobs: str=${{env.tag}} echo "version=${str##*v}" >> $GITHUB_ENV - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' diff --git a/.github/workflows/database_write_prohibition_integration_test.yml b/.github/workflows/database_write_prohibition_integration_test.yml index 9240feaa4d..d0ccee489f 100644 --- a/.github/workflows/database_write_prohibition_integration_test.yml +++ b/.github/workflows/database_write_prohibition_integration_test.yml @@ -24,7 +24,7 @@ jobs: name: set-execution-conditions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: plugin-change-check @@ -46,9 +46,9 @@ jobs: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -62,15 +62,15 @@ jobs: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -108,7 +108,7 @@ jobs: - mongodbClientVersion: "4.11.1" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -136,7 +136,7 @@ jobs: - mysqlClientVersion: "3.3.3" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -195,7 +195,7 @@ jobs: - postgresqlVersion: "42.7.2" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -224,7 +224,7 @@ jobs: - opengaussVersion: "3.1.1-og" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/.github/workflows/dubbo_integration_test.yml b/.github/workflows/dubbo_integration_test.yml index 1ccfff91c5..2d0bbb35bf 100644 --- a/.github/workflows/dubbo_integration_test.yml +++ b/.github/workflows/dubbo_integration_test.yml @@ -31,7 +31,7 @@ jobs: name: set-execution-conditions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: plugin-change-check @@ -61,9 +61,9 @@ jobs: name: download and cache middlewares runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache middlewares - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | apache-zookeeper-*/ @@ -79,15 +79,15 @@ jobs: name: package and cache agent runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -124,7 +124,7 @@ jobs: dubbo-versions: '3' fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -227,7 +227,7 @@ jobs: registry-model: 'instance' fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/.github/workflows/generate_release_note.yml b/.github/workflows/generate_release_note.yml index 2ca2d6e25d..989028f312 100644 --- a/.github/workflows/generate_release_note.yml +++ b/.github/workflows/generate_release_note.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get Milestone Bug Issues id: milestone-bug-issues run: | diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 01b26a8bc0..d7601fb913 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -14,7 +14,7 @@ jobs: name: Checkstyle runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: reviewdog/action-setup@v1 with: reviewdog_version: v0.18.1 @@ -30,9 +30,9 @@ jobs: runs-on: windows-latest name: build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' diff --git a/.github/workflows/mq_consume_prohibition_integration_test.yml b/.github/workflows/mq_consume_prohibition_integration_test.yml index 815923113b..5945c484dd 100644 --- a/.github/workflows/mq_consume_prohibition_integration_test.yml +++ b/.github/workflows/mq_consume_prohibition_integration_test.yml @@ -24,7 +24,7 @@ jobs: name: set-execution-conditions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: plugin-change-check @@ -42,9 +42,9 @@ jobs: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -55,7 +55,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache rocketmq - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: rocketmq-all-5.1.4-bin-release.zip key: ${{ runner.os }}-rocketmq-all-5.1.4-bin-release @@ -66,7 +66,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh rocketmq514 - name: cache kafka - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: kafka_2.13-2.7.0.tgz key: ${{ runner.os }}-kafka_2.13-2.7.0 @@ -80,15 +80,15 @@ jobs: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -124,7 +124,7 @@ jobs: - kafkaVersion: "3.6.1" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -150,7 +150,7 @@ jobs: - rocketMqVersion: "5.1.4" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -176,7 +176,7 @@ jobs: - rocketMqVersion: "5.1.4" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -202,7 +202,7 @@ jobs: - rocketMqVersion: "5.1.4" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/.github/workflows/publish_maven_central_warehouse.yml b/.github/workflows/publish_maven_central_warehouse.yml index 40b17f7f88..1ebfb8a352 100644 --- a/.github/workflows/publish_maven_central_warehouse.yml +++ b/.github/workflows/publish_maven_central_warehouse.yml @@ -16,9 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' diff --git a/.github/workflows/spring_integration_test_1.yml b/.github/workflows/spring_integration_test_1.yml index 3771f1d610..ef981e80d3 100644 --- a/.github/workflows/spring_integration_test_1.yml +++ b/.github/workflows/spring_integration_test_1.yml @@ -32,7 +32,7 @@ jobs: name: set-execution-conditions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: plugin-change-check @@ -58,9 +58,9 @@ jobs: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -71,7 +71,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -82,7 +82,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-1.4.2.tar.gz key: ${{ runner.os }}-nacos-server-1.4.2 @@ -96,15 +96,15 @@ jobs: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -165,7 +165,7 @@ jobs: jettyClientVersion: "1.1.12" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/.github/workflows/spring_integration_test_2.yml b/.github/workflows/spring_integration_test_2.yml index 14a788af32..15ab6cb44e 100644 --- a/.github/workflows/spring_integration_test_2.yml +++ b/.github/workflows/spring_integration_test_2.yml @@ -27,7 +27,7 @@ jobs: name: set-execution-conditions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: plugin-change-check @@ -47,9 +47,9 @@ jobs: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -60,7 +60,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -71,7 +71,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-1.4.2.tar.gz key: ${{ runner.os }}-nacos-server-1.4.2 @@ -85,15 +85,15 @@ jobs: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -145,7 +145,7 @@ jobs: httpClientVersion: "4.5.13" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/.github/workflows/tagtransmission_integration_test.yml b/.github/workflows/tagtransmission_integration_test.yml index 6ac39c50b8..fbffeffa0b 100644 --- a/.github/workflows/tagtransmission_integration_test.yml +++ b/.github/workflows/tagtransmission_integration_test.yml @@ -24,7 +24,7 @@ jobs: name: set-execution-conditions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: plugin-change-check @@ -66,9 +66,9 @@ jobs: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -79,7 +79,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -90,7 +90,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-1.4.2.tar.gz key: ${{ runner.os }}-nacos-server-1.4.2 @@ -101,7 +101,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh nacos - name: cache rocketmq - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: rocketmq-all-4.8.0-bin-release.zip key: ${{ runner.os }}-rocketmq-all-4.8.0-bin-release @@ -112,7 +112,7 @@ jobs: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh rocketmq - name: cache kafka - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: kafka_2.13-2.7.0.tgz key: ${{ runner.os }}-kafka_2.13-2.7.0 @@ -126,15 +126,15 @@ jobs: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -157,7 +157,7 @@ jobs: - httpClientVersion: "3.1" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -180,7 +180,7 @@ jobs: - httpClientVersion: "4.5.14" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -208,7 +208,7 @@ jobs: - okHttpVersion: "2.7.5" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -237,7 +237,7 @@ jobs: - grpcVersion: "1.58.0" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -266,7 +266,7 @@ jobs: - sofaRpcVersion: "5.11.1" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -293,7 +293,7 @@ jobs: - serviceCombVersion: "2.8.12" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -318,7 +318,7 @@ jobs: - alibabaDubboVersion: "2.6.12" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -344,7 +344,7 @@ jobs: - apacheDubboVersion: "3.2.7" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -360,7 +360,7 @@ jobs: if: needs.set-execution-conditions.outputs.enableCrossthreadTagTransmissionAction=='true' needs: [set-execution-conditions, build-agent-and-cache, download-midwares-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -376,7 +376,7 @@ jobs: if: needs.set-execution-conditions.outputs.enableConfigTagTransmissionAction=='true' needs: [set-execution-conditions, build-agent-and-cache, download-midwares-and-cache] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -400,7 +400,7 @@ jobs: - kafkaVersion: "3.4.0" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -423,7 +423,7 @@ jobs: - rocketMqVersion: "5.1.4" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -451,7 +451,7 @@ jobs: - springBootVersion: "2.7.16" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment @@ -479,7 +479,7 @@ jobs: - springBootVersion: "2.7.16" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: set java version to environment diff --git a/sermant-integration-tests/README-zh.md b/sermant-integration-tests/README-zh.md index 8f73a73fb4..65053c9ddc 100644 --- a/sermant-integration-tests/README-zh.md +++ b/sermant-integration-tests/README-zh.md @@ -88,7 +88,7 @@ test-for-spring: nacosVersion: "2.0.0.RELEASE" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: common operations @@ -126,9 +126,9 @@ download-midwares-and-cache: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -139,7 +139,7 @@ download-midwares-and-cache: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -150,7 +150,7 @@ download-midwares-and-cache: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-1.4.2.tar.gz key: ${{ runner.os }}-nacos-server-1.4.2 @@ -164,15 +164,15 @@ download-midwares-and-cache: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -272,7 +272,7 @@ runs: using: "composite" steps: # 1. 检查sermant-plugins/sermant-service-registry路径是否存在变更文件 - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-service-registry with: paths: sermant-plugins/sermant-service-registry @@ -281,7 +281,7 @@ runs: run: | echo "sermantServiceRegistryChanged=${{ steps.changed-sermant-service-registry.outputs.changed }}" >> $GITHUB_ENV # 2. 判断流水线文件是否更变 - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-workflow-or-test with: paths: ./.github/actions ./.github/workflows sermant-integration-tests @@ -369,9 +369,9 @@ download-midwares-and-cache: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -383,7 +383,7 @@ download-midwares-and-cache: bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk ``` -以zookeeper为例, 首先使用[`actions/cache@v3`](https://github.com/marketplace/actions/cache)进行缓存, 随后执行下载步骤,当触发`cache-hit`则下次进来时,直接取用缓存的zookeeper。 +以zookeeper为例, 首先使用[`actions/cache@v4`](https://github.com/marketplace/actions/cache)进行缓存, 随后执行下载步骤,当触发`cache-hit`则下次进来时,直接取用缓存的zookeeper。 (2) 添加启动步骤 @@ -447,7 +447,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-graceful-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs diff --git a/sermant-integration-tests/README.md b/sermant-integration-tests/README.md index 70ed9d4282..3863d3eaa6 100644 --- a/sermant-integration-tests/README.md +++ b/sermant-integration-tests/README.md @@ -88,7 +88,7 @@ test-for-spring: nacosVersion: "2.0.0.RELEASE" fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: common operations @@ -126,9 +126,9 @@ download-midwares-and-cache: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache local cse - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Local-CSE-2.1.3-linux-amd64.zip key: ${{ runner.os }}-local-cse @@ -139,7 +139,7 @@ download-midwares-and-cache: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh cse - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -150,7 +150,7 @@ download-midwares-and-cache: export ROOT_PATH=$(pwd) bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk - name: cache nacos server - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: nacos-server-1.4.2.tar.gz key: ${{ runner.os }}-nacos-server-1.4.2 @@ -164,15 +164,15 @@ download-midwares-and-cache: name: build agent and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'adopt' cache: maven - name: cache agent - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: sermant-agent-*/ key: ${{ runner.os }}-agent-${{ github.run_id }} @@ -272,7 +272,7 @@ runs: using: "composite" steps: # 1. Check whether change files exist in the sermant-plugins/sermant-service-registry directory. - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-sermant-service-registry with: paths: sermant-plugins/sermant-service-registry @@ -281,7 +281,7 @@ runs: run: | echo "sermantServiceRegistryChanged=${{ steps.changed-sermant-service-registry.outputs.changed }}" >> $GITHUB_ENV # 2. Check whether the pipeline file is changed. - - uses: marceloprado/has-changed-path@v1.0.1 + - uses: ktamas77/has-changed-path@v1.0.3 id: changed-workflow-or-test with: paths: ./.github/actions ./.github/workflows sermant-integration-tests @@ -369,9 +369,9 @@ download-midwares-and-cache: name: download midwares and cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cache zookeeper - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: apache-zookeeper-3.6.3-bin.tar.gz key: ${{ runner.os }}-apache-zookeeper-3.6.3 @@ -383,7 +383,7 @@ download-midwares-and-cache: bash ./sermant-integration-tests/scripts/tryDownloadMidware.sh zk ``` -An example. Use [actions/cache@v3](https://github.com/marketplace/actions/cache) to cache data, and then perform the download step. When `cache-hit` is triggered, the cached ZooKeeper is directly used next time. +An example. Use [actions/cache@v4](https://github.com/marketplace/actions/cache) to cache data, and then perform the download step. When `cache-hit` is triggered, the cached ZooKeeper is directly used next time. (2) Add Startup Steps for Mideware @@ -447,7 +447,7 @@ runs: with: processor-keyword: feign|rest - name: if failure then upload error log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled() }} with: name: (${{ github.job }})-graceful-(${{ matrix.springBootVersion }}-${{ matrix.springCloudVersion }})-logs