Skip to content

Commit

Permalink
Attempt to fix Postgres in GitHub Actions Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Astralchroma committed Aug 1, 2024
1 parent 67e5b03 commit 51b7cb3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ jobs:
cargo:
name: Cargo
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: axolotl_client-api
ports:
- "127.0.0.1:5432:5432"
steps:
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
Expand All @@ -21,6 +13,7 @@ jobs:
with:
name: devenv
- run: nix profile install nixpkgs#devenv
- run: devenv up -d
- run: devenv shell sqlx migrate run
- run: devenv shell cargo fmt --check
- run: devenv shell cargo build
Expand Down

0 comments on commit 51b7cb3

Please sign in to comment.