Install sqlx-cli in deploy.yml

This commit is contained in:
Tyler Hallada 2023-10-19 23:32:02 -04:00
parent f8a717d92f
commit 4b729de5fe
2 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,9 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Install sqlx-cli
run: cargo install sqlx-cli --no-default-features --features native-tls,postgres
- name: Check sqlx prepare files
run: cargo sqlx prepare --check

View File

@ -20,7 +20,9 @@ async-fred-session = "0.1"
axum = { version = "0.6", features = ["form", "headers", "multipart", "query"] }
axum-client-ip = "0.4"
# waiting for new axum-login release which will support sqlx v. 0.7+
axum-login = { git = "https://github.com/maxcountryman/axum-login", branch = "main", features = ["postgres"] }
axum-login = { git = "https://github.com/maxcountryman/axum-login", branch = "main", features = [
"postgres",
] }
bytes = "1.4"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4.4", features = ["derive", "env"] }