File tree Expand file tree Collapse file tree 1 file changed +18
-23
lines changed Expand file tree Collapse file tree 1 file changed +18
-23
lines changed Original file line number Diff line number Diff line change @@ -4,30 +4,25 @@ on: [pull_request]
44jobs :
55  build :
66    runs-on : ubuntu-latest 
7-     strategy :
8-       matrix :
9-         mysql_version : ["5.7", "8.0"] 
10-     services :
11-       mysql :
12-         image : mysql:${{ matrix.mysql_version }} 
13-         env :
14-           MYSQL_ROOT_PASSWORD : " root" 
15-           MYSQL_DATABASE : " test" 
16-           TZ : America/Los_Angeles 
17-         ports :
18-           - 3306:3306 
19-         options : >- 
20-           --health-cmd="mysqladmin ping" 
21-           --health-interval=10s 
22-           --health-timeout=5s 
23-           --health-retries=3 
24-           --log-bin=mysql-bin 
25-           --binlog-format=row 
26-           --gtid-mode=ON 
27-           --enforce-gtid-consistency=ON 
28-           --binlog-transaction-dependency-tracking=WRITESET 
29-           --transaction-write-set-extraction=XXHASH64 
307    steps :
8+     - name : Setup MySQL 
9+       run : >- 
10+         docker run --rm -d 
11+         --name mysql 
12+         -p 3306:3306 
13+         --health-cmd="mysqladmin ping" 
14+         --health-interval=10s 
15+         --health-timeout=5s 
16+         --health-retries=3 
17+         mysql:8.0.39 
18+         -e MYSQL_ROOT_PASSWORD=root 
19+         -e MYSQL_DATABASE=test 
20+         --log-bin=mysql-bin 
21+         --binlog-format=row 
22+         --gtid-mode=ON 
23+         --enforce-gtid-consistency=ON 
24+         --transaction-write-set-extraction=XXHASH64 
25+         --binlog-transaction-dependency-tracking=WRITESET 
3126     - uses : actions/checkout@v4 
3227    - name : Set up Go 
3328      uses : actions/setup-go@v5 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments