1
Fork 0

Fix postgres + add api test cache

This commit is contained in:
viktorstrate 2021-04-23 21:07:32 +02:00
parent e77f1bcd47
commit d7ad507987
No known key found for this signature in database
GPG Key ID: 3F855605109C1E8A
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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