Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarogh committed Sep 9, 2023
1 parent eb8396b commit fba7742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
- name: Install psql
run: apt update && apt install -y postgresql-client
- name: Test DB, install uuid-ossp, and interrupt action if it doesn't work
run: psql postgres://wartid:wartid@localhost/wartid --command='create extension "uuid-ossp";'
run: psql postgres://wartid:wartid@postgres/wartid --command='create extension "uuid-ossp";'
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Apply migrations
working-directory: ./wartid-server/
run: diesel migration run
env:
DATABASE_URL: postgres://wartid:wartid@localhost/wartid
DATABASE_URL: postgres://wartid:wartid@postgres/wartid
- name: Build --all-features
working-directory: ./wartid-server/
run: cargo build --release --all-features --verbose
Expand Down

0 comments on commit fba7742

Please sign in to comment.