@@ -243,7 +243,7 @@ jobs:
243243 env:
244244 DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
245245 SQLX_OFFLINE_DIR: .sqlx
246- RUSTFLAGS: --cfg postgres="${{ matrix.postgres }}"
246+ RUSTFLAGS: -D warnings - -cfg postgres="${{ matrix.postgres }}"
247247
248248 # Run the `test-attr` test again to cover cleanup.
249249 - run : >
@@ -254,7 +254,7 @@ jobs:
254254 env:
255255 DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
256256 SQLX_OFFLINE_DIR: .sqlx
257- RUSTFLAGS: --cfg postgres="${{ matrix.postgres }}"
257+ RUSTFLAGS: -D warnings - -cfg postgres="${{ matrix.postgres }}"
258258
259259 - if : matrix.tls != 'none'
260260 run : >
@@ -264,7 +264,7 @@ jobs:
264264 env :
265265 DATABASE_URL : postgres://postgres:password@localhost:5432/sqlx?sslmode=verify-ca&sslrootcert=.%2Ftests%2Fcerts%2Fca.crt
266266 SQLX_OFFLINE_DIR : .sqlx
267- RUSTFLAGS : --cfg postgres="${{ matrix.postgres }}"
267+ RUSTFLAGS : -D warnings - -cfg postgres="${{ matrix.postgres }}"
268268
269269 # Remove test artifacts
270270 - run : cargo clean -p sqlx
@@ -290,7 +290,7 @@ jobs:
290290 DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
291291 SQLX_OFFLINE: true
292292 SQLX_OFFLINE_DIR: .sqlx
293- RUSTFLAGS: --cfg postgres="${{ matrix.postgres }}"
293+ RUSTFLAGS: -D warnings - -cfg postgres="${{ matrix.postgres }}"
294294
295295 postgres-ssl-auth :
296296 name : Postgres SSL Auth
@@ -322,7 +322,7 @@ jobs:
322322 --features any,postgres,macros,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }}
323323 env:
324324 DATABASE_URL: postgres://postgres@localhost:5432/sqlx?sslmode=verify-ca&sslrootcert=.%2Ftests%2Fcerts%2Fca.crt&sslkey=.%2Ftests%2Fcerts%2Fkeys%2Fclient.key&sslcert=.%2Ftests%2Fcerts%2Fclient.crt
325- RUSTFLAGS: --cfg postgres="${{ matrix.postgres }}"
325+ RUSTFLAGS: -D warnings - -cfg postgres="${{ matrix.postgres }}"
326326
327327 mysql :
328328 name : MySQL
0 commit comments