Skip to content

Commit 8fcfc2f

Browse files
authored
fix(CI): explicitly set db url (#248)
1 parent 024a35e commit 8fcfc2f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010

11+
env:
12+
DATABASE_URL: sqlite:data/spis.db
13+
1114
jobs:
1215
ci:
1316
name: Run ${{ matrix.target }}
@@ -22,9 +25,6 @@ jobs:
2225
- name: Checkout
2326
uses: actions/checkout@v4
2427

25-
- name: Read .envrc
26-
uses: HatsuneMiku3939/direnv-action@v1
27-
2828
- name: Install rust toolchain
2929
uses: ./.github/actions/toolchain
3030

.github/workflows/release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
REGISTRY: ghcr.io
1010
IMAGE_NAME: ${{ github.repository }}
1111
VERSION: ${{ github.ref_name }}
12+
DATABASE_URL: sqlite:data/spis.db
1213

1314
jobs:
1415
ci:
@@ -31,9 +32,6 @@ jobs:
3132
- name: Checkout
3233
uses: actions/checkout@v4
3334

34-
- name: Read .envrc
35-
uses: HatsuneMiku3939/direnv-action@v1
36-
3735
- name: Install rust toolchain
3836
uses: ./.github/actions/toolchain
3937

0 commit comments

Comments
 (0)