Skip to content

Commit

Permalink
fix(CI): explicitly set db url (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbirkisson authored Aug 19, 2024
1 parent 024a35e commit 8fcfc2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

env:
DATABASE_URL: sqlite:data/spis.db

jobs:
ci:
name: Run ${{ matrix.target }}
Expand All @@ -22,9 +25,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Read .envrc
uses: HatsuneMiku3939/direnv-action@v1

- name: Install rust toolchain
uses: ./.github/actions/toolchain

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
VERSION: ${{ github.ref_name }}
DATABASE_URL: sqlite:data/spis.db

jobs:
ci:
Expand All @@ -31,9 +32,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Read .envrc
uses: HatsuneMiku3939/direnv-action@v1

- name: Install rust toolchain
uses: ./.github/actions/toolchain

Expand Down

0 comments on commit 8fcfc2f

Please sign in to comment.