File tree Expand file tree Collapse file tree 3 files changed +10
-70
lines changed
Expand file tree Collapse file tree 3 files changed +10
-70
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6666 toolchain : ${{ matrix.rust-version }}
6767 override : true
6868
69- - uses : ./.github/actions/setup-postgres
69+ - name : Setup PostgreSQL
70+ uses : ikalnytskyi/action-setup-postgres@v1
7071
7172 - uses : actions-rs/cargo@v1
7273 with :
Original file line number Diff line number Diff line change @@ -71,12 +71,13 @@ jobs:
7171 toolchain : ${{ matrix.rust-version }}
7272 override : true
7373
74- - name : Start PostgreSQL
75- uses : ./.github/actions/setup-postgres
74+ - name : Setup PostgreSQL
75+ uses : ikalnytskyi/action-setup-postgres@v1
76+ id : postgres
7677
7778 - name : Set ROCKET_DATABASE_URL
7879 run : |
79- echo "ROCKET_DATABASE_URL=postgresql:// postgres:postgres@localhost/postgres " >> $GITHUB_ENV
80+ echo "ROCKET_DATABASE_URL=${{ steps. postgres.outputs.connection-uri }} " >> $GITHUB_ENV
8081
8182 - name : Install Alembic and psycopg2
8283 run : |
@@ -118,11 +119,12 @@ jobs:
118119 toolchain : nightly
119120 override : true
120121
121- - name : Start PostgreSQL
122- uses : ./.github/actions/setup-postgres
122+ - name : Setup PostgreSQL
123+ uses : ikalnytskyi/action-setup-postgres@v1
124+ id : postgres
123125
124126 - run : |
125- echo "ROCKET_DATABASE_URL=postgresql:// postgres:postgres@localhost/postgres " >> $GITHUB_ENV
127+ echo "ROCKET_DATABASE_URL=${{ steps. postgres.outputs.connection-uri }} " >> $GITHUB_ENV
126128
127129 - run : cargo build
128130 - run : python -m venv testvenv
You can’t perform that action at this time.
0 commit comments