diff --git a/.drone.yml b/.drone.yml index 22f27d2..e0b8c29 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,14 +19,14 @@ steps: - "psql -U postgres -d newsletter -h postgres" - name: sqlxMigrate - image: rust:1.56 + image: rust:1.57 commands: - apt update && apt install -y build-essential pkg-config libssl-dev # Dependancies for sqlx - cargo install --version=0.5.7 sqlx-cli --no-default-features --features postgres # Install sqlx - sqlx migrate run - name: test - image: rust:1.56 + image: rust:1.57 commands: - apt update && apt install -y build-essential pkg-config libssl-dev # Dependancies for tarpaulin - cargo install cargo-tarpaulin diff --git a/Dockerfile b/Dockerfile index 023f53f..e0f8ea6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM lukemathwalker/cargo-chef:latest-rust-1.53.0 AS chef +FROM lukemathwalker/cargo-chef:latest-rust-1.57.0 AS chef WORKDIR /app # Create lock file for project to be used in builder diff --git a/sqlx-data.json b/sqlx-data.json index f844615..230520f 100644 --- a/sqlx-data.json +++ b/sqlx-data.json @@ -1,7 +1,7 @@ { "db": "PostgreSQL", - "5db1f9dfcdee685b02851f144e29d3e2726127d5a1d614880a0be89d8fa6904b": { - "query": "\n INSERT INTO subscriptions (id, email, name, subscribed_at)\n VALUES($1, $2, $3, $4)\n ", + "793f0df728d217c204123f12e4eafd6439db2d49d0cb506618ae9e780c7e0558": { + "query": "\n INSERT INTO subscriptions (id, email, name, subscribed_at)\n VALUES ($1, $2, $3, $4)\n ", "describe": { "columns": [], "parameters": {