1- name : golang
1+ name : Test
22on :
33 push :
44 branches :
99 strategy :
1010 fail-fast : true
1111 matrix :
12- go-version : [ '1.13', '1.14', '1.15', '1.16', '1.17', '1.18', '1.19', '1.20']
12+ go-version :
13+ ["1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20"]
1314 runs-on : ubuntu-latest
1415 steps :
1516 - name : checkout
3233 - name : setup-go
3334 uses : actions/setup-go@v4
3435 with :
35- go-version : ' 1.20'
36+ go-version : " 1.20"
3637 cache : true
3738 cache-dependency-path : go.sum
3839 - name : golangci-lint
@@ -52,14 +53,15 @@ jobs:
5253 strategy :
5354 fail-fast : true
5455 matrix :
55- go-version : [ '1.13', '1.14', '1.15', '1.16', '1.17', '1.18', '1.19', '1.20']
56+ go-version :
57+ ["1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20"]
5658 services :
5759 mysql :
5860 image : mysql:8.0
5961 env :
60- MYSQL_ALLOW_EMPTY_PASSWORD : ' 1 '
61- MYSQL_ROOT_PASSWORD : ' '
62- MYSQL_DATABASE : ' test'
62+ MYSQL_ALLOW_EMPTY_PASSWORD : " 1 "
63+ MYSQL_ROOT_PASSWORD : " "
64+ MYSQL_DATABASE : " test"
6365 ports :
6466 - 3306:3306
6567 options : >-
7072 postgres :
7173 image : postgres:15
7274 env :
73- POSTGRES_PASSWORD : ' password'
75+ POSTGRES_PASSWORD : " password"
7476 ports :
7577 - 5432:5432
7678 options : >-
@@ -79,10 +81,10 @@ jobs:
7981 --health-timeout 5s
8082 --health-retries 5
8183 env :
82- MYSQL_HOST : ' 127.0.0.1'
83- PGHOST : ' 127.0.0.1'
84- PGUSER : ' postgres'
85- PGPASSWORD : ' password'
84+ MYSQL_HOST : " 127.0.0.1"
85+ PGHOST : " 127.0.0.1"
86+ PGUSER : " postgres"
87+ PGPASSWORD : " password"
8688 steps :
8789 - name : checkout
8890 uses : actions/checkout@v3
@@ -108,4 +110,4 @@ jobs:
108110 - name : mysql-env
109111 run : bash ./test-integration/mysql-env.sh
110112 - name : sqlite
111- run : bash ./test-integration/sqlite.sh
113+ run : bash ./test-integration/sqlite.sh
0 commit comments