File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 60
60
--health-timeout 5s
61
61
--health-retries 10
62
62
63
+ steps :
64
+ - name : Set up Go 1.x
65
+ uses : actions/setup-go@v4
66
+ with :
67
+ go-version : ${{ matrix.go }}
68
+
69
+ - name : Check out code into the Go module directory
70
+ uses : actions/checkout@v4
71
+
72
+ - name : go mod pakcage cache
73
+ uses : actions/cache@v3
74
+ with :
75
+ path : ~/go/pkg/mod
76
+ key : ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
77
+
78
+ - name : Tests
79
+ run : GORM_DIALECT=mysql GORM_DSN="gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True" ./test_all.sh
80
+
63
81
mariadb :
64
82
strategy :
65
83
matrix :
85
103
--health-timeout 5s
86
104
--health-retries 10
87
105
88
-
89
106
steps :
90
107
- name : Set up Go 1.x
91
108
uses : actions/setup-go@v4
You can’t perform that action at this time.
0 commit comments