Skip to content

Commit

Permalink
Scaffold v2 (#1209)
Browse files Browse the repository at this point in the history
* Add support for additional model field types and arrays
  • Loading branch information
kaplanelad authored Jan 27, 2025
1 parent 5dbfeff commit b5e1758
Show file tree
Hide file tree
Showing 127 changed files with 4,883 additions and 958 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/loco-gen-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ jobs:
permissions:
contents: read

services:
postgres:
image: postgres
env:
POSTGRES_DB: postgres_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
# Set health checks to wait until postgres has started
options: --health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- name: Checkout the code
uses: actions/checkout@v4
Expand All @@ -71,3 +86,4 @@ jobs:
run: cargo test --all-features
env:
LOCO_DEV_MODE_PATH: ${{ github.workspace }}
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres_test
266 changes: 0 additions & 266 deletions .github/workflows/loco-gen-e2e.yml

This file was deleted.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ axum-extra = { version = "0.10", features = ["cookie"] }
regex = { workspace = true }
fs-err = "2.11.0"
# mailer
tera = "1.19.1"
tera = { workspace = true }
thousands = "0.2.0"
heck = "0.4.0"
heck = { workspace = true }
cruet = "0.13.0"
lettre = { version = "0.11.4", default-features = false, features = [
"builder",
Expand Down Expand Up @@ -160,6 +160,7 @@ bb8 = { version = "0.8.1", optional = true }
scraper = { version = "0.21.0", features = ["deterministic"], optional = true }

[workspace.dependencies]
tera = { version = "1.19.1" }
colored = { version = "2" }
chrono = { version = "0.4", features = ["serde"] }
tracing = "0.1.40"
Expand All @@ -180,6 +181,7 @@ tower-http = { version = "0.6.1", features = [
"set-header",
"compression-full",
] }
heck = "0.4.0"

[dependencies.sea-orm-migration]
optional = true
Expand Down
Loading

0 comments on commit b5e1758

Please sign in to comment.