This is an automated email from the ASF dual-hosted git repository.
zfeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-seata-go.git
The following commit(s) were added to refs/heads/master by this push:
new 755f1def fix: re-enabled integration test action (#835)
755f1def is described below
commit 755f1def80b9db7d9ff32de6c3fa0e6795b0ec4b
Author: Zonglei Dong <[email protected]>
AuthorDate: Sat Aug 16 19:55:27 2025 +0800
fix: re-enabled integration test action (#835)
* fix: re-enabled integration test action
* fix: install docker composer
* fix: upgrade go version
* fix: upgrade go version
* fix: upgrade go version
* fix: upgrade go version
* fix: upgrade go version
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: FengZhang <[email protected]>
Co-authored-by: Xin.Zh <[email protected]>
Co-authored-by: Copilot <[email protected]>
---
.github/workflows/integrate-test.yml | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/integrate-test.yml
b/.github/workflows/integrate-test.yml
index 7fbdec23..b5016580 100644
--- a/.github/workflows/integrate-test.yml
+++ b/.github/workflows/integrate-test.yml
@@ -37,14 +37,14 @@ jobs:
strategy:
matrix:
golang:
- - 1.18
+ - 1.20
steps:
- name: "set up go"
uses: actions/setup-go@v3
with:
- go-version: 1.18
+ go-version: 1.20.0
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can
access it
- name: "checkout ${{ github.ref }}"
@@ -61,15 +61,23 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
+ - name: Set up Docker
+ uses: docker/setup-buildx-action@v2
+
+ - name: Install Docker Compose
+ run: |
+ curl -L
"https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-$(uname
-s)-$(uname -m)" -o /usr/local/bin/docker-compose
+ chmod +x /usr/local/bin/docker-compose
+ docker-compose --version
+
# This step only runs when the event type is a pull_request
-# - name: Integrate Test
-# if: ${{ github.event_name == 'pull_request' }}
-# run: |
-# chmod +x integrate_test.sh && [[ -n
"${{github.event.pull_request.head.repo.full_name}}" ]] && [[ -n
"${{github.event.pull_request.head.sha}}" ]] && [[ -n "${{github.base_ref}}" ]]
&& ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}}
${{github.event.pull_request.head.sha}} ${{github.base_ref}}
-#
-# # This step only runs when the event type is a push
-# - name: Integrate Test
-# if: ${{ github.event_name == 'push' }}
-# run: |
-# chmod +x integrate_test.sh && ./integrate_test.sh $GITHUB_REPOSITORY
$GITHUB_SHA $GITHUB_BASE_REF
-#
\ No newline at end of file
+ - name: Integrate Test
+ if: ${{ github.event_name == 'pull_request' }}
+ run: |
+ chmod +x integrate_test.sh && [[ -n
"${{github.event.pull_request.head.repo.full_name}}" ]] && [[ -n
"${{github.event.pull_request.head.sha}}" ]] && [[ -n "${{github.base_ref}}" ]]
&& ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}}
${{github.event.pull_request.head.sha}} ${{github.base_ref}}
+
+ # This step only runs when the event type is a push
+ - name: Integrate Test
+ if: ${{ github.event_name == 'push' }}
+ run: |
+ chmod +x integrate_test.sh && ./integrate_test.sh $GITHUB_REPOSITORY
$GITHUB_SHA $GITHUB_BASE_REF
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]