Fix postgres + add api test cache
This commit is contained in:
parent
e77f1bcd47
commit
d7ad507987
|
@ -1,2 +1,2 @@
|
|||
PHOTOVIEW_DATABASE_DRIVER=postgres
|
||||
PHOTOVIEW_POSTGRES_URL='photoview:photosecret@tcp(postgres)/photoview_test'
|
||||
PHOTOVIEW_POSTGRES_URL=postgres://photoview:photosecret@postgres/photoview_test
|
||||
|
|
|
@ -55,6 +55,14 @@ jobs:
|
|||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Cache Go dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- name: Get C dependencies
|
||||
run: |
|
||||
sudo add-apt-repository ppa:strukturag/libheif
|
||||
|
|
Loading…
Reference in New Issue