LukeBrandon / fluke

5 stars 0 forks source link

feat: workflows for cargo build, fmt, clippy, PR #17

Closed FlynnOConnell closed 1 year ago

FlynnOConnell commented 1 year ago

Looks like we need to create a secret for the repo with the connection string to the database, something like:

postgresql://username:password@localhost/databasename

and access with

${{ secrets.DATABASE_URL }}

LukeBrandon commented 1 year ago

https://github.com/launchbadge/sqlx/issues/1737

LukeBrandon commented 1 year ago

Looks like we need to create a secret for the repo with the connection string to the database, something like:

postgresql://username:password@localhost/databasename

and access with

${{ secrets.DATABASE_URL }}

It doesn't just want a URL it wants an actual database I think, so it can run test queries to confirm they are valid. Not entirely sure how to get this setup in a workflow