Reviewed-on: https://gitea.com/xorm/xorm/pulls/2450
This commit is contained in:
parent
7601625664
commit
d4f79b8a38
|
@ -16,7 +16,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: setup go
|
- name: setup go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.20.1'
|
go-version: '>=1.20.1'
|
||||||
- name: Use Go Action
|
- name: Use Go Action
|
||||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -50,8 +50,6 @@ jobs:
|
||||||
services:
|
services:
|
||||||
cockroach:
|
cockroach:
|
||||||
image: cockroachdb/cockroach:v19.2.4
|
image: cockroachdb/cockroach:v19.2.4
|
||||||
ports:
|
|
||||||
- 26257:26257
|
|
||||||
cmd:
|
cmd:
|
||||||
- 'start'
|
- 'start'
|
||||||
- '--insecure'
|
- '--insecure'
|
||||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -52,6 +52,4 @@ jobs:
|
||||||
image: mariadb:10.4
|
image: mariadb:10.4
|
||||||
env:
|
env:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||||
MYSQL_DATABASE: xorm_test
|
MYSQL_DATABASE: xorm_test
|
||||||
ports:
|
|
||||||
- 3306:3306
|
|
|
@ -53,6 +53,4 @@ jobs:
|
||||||
env:
|
env:
|
||||||
ACCEPT_EULA: Y
|
ACCEPT_EULA: Y
|
||||||
SA_PASSWORD: yourStrong(!)Password
|
SA_PASSWORD: yourStrong(!)Password
|
||||||
MSSQL_PID: Standard
|
MSSQL_PID: Standard
|
||||||
ports:
|
|
||||||
- 1433:1433
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -52,6 +52,4 @@ jobs:
|
||||||
env:
|
env:
|
||||||
ACCEPT_EULA: Y
|
ACCEPT_EULA: Y
|
||||||
SA_PASSWORD: yourStrong(!)Password
|
SA_PASSWORD: yourStrong(!)Password
|
||||||
MSSQL_PID: Standard
|
MSSQL_PID: Standard
|
||||||
ports:
|
|
||||||
- 1433:1433
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -52,6 +52,4 @@ jobs:
|
||||||
image: mysql:5.7
|
image: mysql:5.7
|
||||||
env:
|
env:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||||
MYSQL_DATABASE: xorm_test
|
MYSQL_DATABASE: xorm_test
|
||||||
ports:
|
|
||||||
- 3306:3306
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -52,6 +52,4 @@ jobs:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
env:
|
env:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||||
MYSQL_DATABASE: xorm_test
|
MYSQL_DATABASE: xorm_test
|
||||||
ports:
|
|
||||||
- 3306:3306
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -75,6 +75,4 @@ jobs:
|
||||||
env:
|
env:
|
||||||
POSTGRES_DB: xorm_test
|
POSTGRES_DB: xorm_test
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# restore-keys: |
|
# restore-keys: |
|
||||||
# go_cache-${{ github.repository }}-
|
# go_cache-${{ github.repository }}-
|
||||||
# go_cache-
|
# go_cache-
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -48,6 +48,4 @@ jobs:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
tidb:
|
tidb:
|
||||||
image: pingcap/tidb:v3.0.3
|
image: pingcap/tidb:v3.0.3
|
||||||
ports:
|
|
||||||
- 4000:4000
|
|
Loading…
Reference in New Issue