diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5be463e..d7460dc6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ on: branches: - main +env: + DATABASE_URL: sqlite:data/spis.db + jobs: ci: name: Run ${{ matrix.target }} @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7bfe84d..1aa168d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} VERSION: ${{ github.ref_name }} + DATABASE_URL: sqlite:data/spis.db jobs: ci: @@ -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