From 08a39e4992e47bfa3a179dbaf6fbfd60179fd0c3 Mon Sep 17 00:00:00 2001 From: Kayh Date: Thu, 21 Dec 2023 21:23:46 -0500 Subject: [PATCH] remove .env in ci --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea4dcab..adbab3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,13 @@ on: jobs: sqlx-prepare: runs-on: ubuntu-latest + env: DATABASE_URL steps: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - uses: Swatinem/rust-cache@v2 + - run: rm .env - run: nix develop -c cargo sqlx prepare --workspace - run: nix develop -c cargo sqlx prepare --workspace -- --tests - uses: EndBug/add-and-commit@v9