mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 19:49:16 +00:00
Fix postgres + add api test cache
This commit is contained in:
2
.github/postgres.testing.env
vendored
2
.github/postgres.testing.env
vendored
@@ -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
|
||||
|
||||
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user