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 66
66
toolchain : ${{ matrix.rust-version }}
67
67
override : true
68
68
69
- - uses : ./.github/actions/setup-postgres
69
+ - name : Setup PostgreSQL
70
+ uses : ikalnytskyi/action-setup-postgres@v1
70
71
71
72
- uses : actions-rs/cargo@v1
72
73
with :
Original file line number Diff line number Diff line change @@ -71,12 +71,13 @@ jobs:
71
71
toolchain : ${{ matrix.rust-version }}
72
72
override : true
73
73
74
- - name : Start PostgreSQL
75
- uses : ./.github/actions/setup-postgres
74
+ - name : Setup PostgreSQL
75
+ uses : ikalnytskyi/action-setup-postgres@v1
76
+ id : postgres
76
77
77
78
- name : Set ROCKET_DATABASE_URL
78
79
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
80
81
81
82
- name : Install Alembic and psycopg2
82
83
run : |
@@ -118,11 +119,12 @@ jobs:
118
119
toolchain : nightly
119
120
override : true
120
121
121
- - name : Start PostgreSQL
122
- uses : ./.github/actions/setup-postgres
122
+ - name : Setup PostgreSQL
123
+ uses : ikalnytskyi/action-setup-postgres@v1
124
+ id : postgres
123
125
124
126
- 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
126
128
127
129
- run : cargo build
128
130
- run : python -m venv testvenv
You can’t perform that action at this time.
0 commit comments