Skip to content

Commit

Permalink
pin mysql version to 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyangyu committed Jul 7, 2024
1 parent e5175ec commit a7bd077
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:

- name: Get mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: Run test on ${{ matrix.os }}
run: mysql -u ${{needs.setup.outputs.TIDB_CLOUD_USER}} -h ${{needs.setup.outputs.TIDB_CLOUD_HOST}} -P 4000 -D test --ssl-mode=VERIFY_IDENTITY --ssl-ca=${{ matrix.cert }} -p${{ secrets.TIDB_CLOUD_PASSWORD }}
Expand All @@ -101,6 +103,8 @@ jobs:

- name: Get mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: Run test
run: "! mysql -u ${{needs.setup.outputs.TIDB_CLOUD_USER}} -h ${{needs.setup.outputs.TIDB_CLOUD_HOST}} -P ${{ matrix.port }} -D test --ssl-mode=DISABLED -p${{ secrets.TIDB_CLOUD_PASSWORD }}"
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/connect-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

- name: Setup mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: connect cluster us-east-1
run: |
Expand All @@ -36,6 +38,8 @@ jobs:

- name: Setup mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: connect cluster us-west-2
run: |
Expand All @@ -55,6 +59,8 @@ jobs:

- name: Setup mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: connect cluster ap-northeast-1
run: |
Expand All @@ -75,6 +81,8 @@ jobs:

- name: Setup mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: connect cluster ap-southeast-1
run: |
Expand All @@ -95,6 +103,8 @@ jobs:

- name: Setup mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: connect cluster eu-central-1
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ jobs:
- name: Setup mysql
uses: shogo82148/actions-setup-mysql@v1
with:
mysql-version: "8.3"

- name: Run test
run: |
Expand Down

0 comments on commit a7bd077

Please sign in to comment.