mirror of
https://github.com/actix/examples
synced 2025-04-22 08:34:52 +02:00
ci: install libpq-dev
This commit is contained in:
parent
dbea1221d8
commit
8681b2a156
7
.github/workflows/ci-nightly.yml
vendored
7
.github/workflows/ci-nightly.yml
vendored
@ -21,6 +21,12 @@ jobs:
|
||||
with:
|
||||
toolchain: ${{ matrix.version }}
|
||||
|
||||
- name: Install system packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install sqlite3
|
||||
sudo apt-get -y install libpq-dev
|
||||
|
||||
- name: Install DB CLI tools
|
||||
run: |
|
||||
cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
|
||||
@ -30,7 +36,6 @@ jobs:
|
||||
env:
|
||||
DATABASE_URL: sqlite://./todo.db
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install sqlite3
|
||||
sqlx database create
|
||||
chmod a+rwx ./todo.db
|
||||
sqlx migrate run --source=./basics/todo/migrations
|
||||
|
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -26,6 +26,12 @@ jobs:
|
||||
with:
|
||||
toolchain: ${{ matrix.version }}
|
||||
|
||||
- name: Install system packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install sqlite3
|
||||
sudo apt-get -y install libpq-dev
|
||||
|
||||
- name: Install DB CLI tools
|
||||
run: |
|
||||
cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls
|
||||
@ -35,7 +41,6 @@ jobs:
|
||||
env:
|
||||
DATABASE_URL: sqlite://./todo.db
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install sqlite3
|
||||
sqlx database create
|
||||
chmod a+rwx ./todo.db
|
||||
sqlx migrate run --source=./basics/todo/migrations
|
||||
|
Loading…
x
Reference in New Issue
Block a user