deleted cargo config and fmt
Some checks failed
Rust / Test (push) Failing after 1m30s
Rust / Rustfmt (push) Successful in 21s
Rust / Clippy (push) Successful in 1m14s
Rust / Code coverage (push) Failing after 1m31s

This commit is contained in:
Alphonse Paix
2025-09-28 17:07:21 +02:00
parent 271aa87b9e
commit 35c0427bd4
4 changed files with 5 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]

View File

@@ -6,7 +6,6 @@ Dockerfile
/migrations /migrations
/node_modules /node_modules
/assets/css/main.css /assets/css/main.css
/.cargo
/.github /.github
README.md README.md
/tests /tests

View File

@@ -51,7 +51,7 @@ jobs:
--locked --locked
- name: Create app user in Postgres - name: Create app user in Postgres
run: | run: |
sudo apt-get update && sudo apt-get install postgresql-client sudo apt-get update && sudo apt-get install postgresql-client -y
CREATE_QUERY="CREATE USER ${APP_USER} WITH PASSWORD '${APP_USER_PWD}';" CREATE_QUERY="CREATE USER ${APP_USER} WITH PASSWORD '${APP_USER_PWD}';"
PGPASSWORD="password" psql -U postgres -h localhost -p 15432 -c "${CREATE_QUERY}" PGPASSWORD="password" psql -U postgres -h localhost -p 15432 -c "${CREATE_QUERY}"
@@ -124,7 +124,7 @@ jobs:
--locked --locked
- name: Create app user in Postgres - name: Create app user in Postgres
run: | run: |
sudo apt-get update && sudo apt-get install postgresql-client sudo apt-get update && sudo apt-get install postgresql-client -y
CREATE_QUERY="CREATE USER ${APP_USER} WITH PASSWORD '${APP_USER_PWD}';" CREATE_QUERY="CREATE USER ${APP_USER} WITH PASSWORD '${APP_USER_PWD}';"
PGPASSWORD="password" psql -U postgres -h localhost -p 15432 -c "${CREATE_QUERY}" PGPASSWORD="password" psql -U postgres -h localhost -p 15432 -c "${CREATE_QUERY}"

View File

@@ -48,7 +48,9 @@ async fn subscriber_can_unsubscribe(connection_pool: PgPool) {
} }
#[sqlx::test] #[sqlx::test]
async fn a_valid_unsubscribe_link_is_present_in_new_post_email_notifications(connection_pool: PgPool) { async fn a_valid_unsubscribe_link_is_present_in_new_post_email_notifications(
connection_pool: PgPool,
) {
let app = TestApp::spawn(connection_pool).await; let app = TestApp::spawn(connection_pool).await;
app.create_confirmed_subscriber().await; app.create_confirmed_subscriber().await;
app.admin_login().await; app.admin_login().await;