Disable cache tempororily
This commit is contained in:
parent
01b0250b2a
commit
5fb2eaa43f
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: test cockroach
|
name: test cockroach
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
@ -43,10 +43,12 @@ jobs:
|
||||||
TEST_COCKROACH_DBNAME: xorm_test
|
TEST_COCKROACH_DBNAME: xorm_test
|
||||||
TEST_COCKROACH_USERNAME: root
|
TEST_COCKROACH_USERNAME: root
|
||||||
TEST_COCKROACH_PASSWORD:
|
TEST_COCKROACH_PASSWORD:
|
||||||
run: sleep 10 && make test-cockroach
|
run: sleep 20 && make test-cockroach
|
||||||
|
|
||||||
services:
|
services:
|
||||||
cockroach:
|
cockroach:
|
||||||
image: cockroachdb/cockroach:v19.2.4
|
image: cockroachdb/cockroach:v19.2.4
|
||||||
cmd:
|
cmd:
|
||||||
- /cockroach/cockroach start --insecure
|
- '/cockroach/cockroach'
|
||||||
|
- 'start'
|
||||||
|
- '--insecure'
|
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: test mariadb
|
name: test mariadb
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
|
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: test mssql
|
name: test mssql
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
|
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: test mysql
|
name: test mysql
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
|
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: test mysql8
|
name: test mysql8
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
|
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: test postgres
|
name: test postgres
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
|
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: unit test & test sqlite
|
name: unit test & test sqlite
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
|
|
@ -15,24 +15,24 @@ jobs:
|
||||||
name: test tidb
|
name: test tidb
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: cache go path
|
# - name: cache go path
|
||||||
id: cache-go-path
|
# id: cache-go-path
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_path
|
# path: /go_path
|
||||||
key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_path-${{ github.repository }}-${{ github.ref_name }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
go_path-${{ github.repository }}-
|
# go_path-${{ github.repository }}-
|
||||||
go_path-
|
# go_path-
|
||||||
- name: cache go cache
|
# - name: cache go cache
|
||||||
id: cache-go-cache
|
# id: cache-go-cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /go_cache
|
# path: /go_cache
|
||||||
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
# key: go_cache-${{ github.repository }}-${{ github.ref_name }}
|
||||||
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@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.20
|
go-version: 1.20
|
||||||
|
|
Loading…
Reference in New Issue