diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 0c38d57..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,3 +0,0 @@ -[target.x86_64-unknown-linux-gnu] -linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] diff --git a/.dockerignore b/.dockerignore index 8b2ecb7..878418f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,7 +6,6 @@ Dockerfile /migrations /node_modules /assets/css/main.css -/.cargo /.github README.md /tests diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml index e3058c6..aae52fe 100644 --- a/.github/workflows/general.yml +++ b/.github/workflows/general.yml @@ -51,7 +51,7 @@ jobs: --locked - name: Create app user in Postgres 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}';" PGPASSWORD="password" psql -U postgres -h localhost -p 15432 -c "${CREATE_QUERY}" @@ -124,7 +124,7 @@ jobs: --locked - name: Create app user in Postgres 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}';" PGPASSWORD="password" psql -U postgres -h localhost -p 15432 -c "${CREATE_QUERY}" diff --git a/tests/api/unsubscribe.rs b/tests/api/unsubscribe.rs index 1d2c52b..23227b3 100644 --- a/tests/api/unsubscribe.rs +++ b/tests/api/unsubscribe.rs @@ -48,7 +48,9 @@ async fn subscriber_can_unsubscribe(connection_pool: PgPool) { } #[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; app.create_confirmed_subscriber().await; app.admin_login().await;