@@ -243,7 +243,7 @@ jobs:
243
243
env:
244
244
DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
245
245
SQLX_OFFLINE_DIR: .sqlx
246
- RUSTFLAGS: --cfg postgres="${{ matrix.postgres }}"
246
+ RUSTFLAGS: -D warnings - -cfg postgres="${{ matrix.postgres }}"
247
247
248
248
# Run the `test-attr` test again to cover cleanup.
249
249
- run : >
@@ -254,7 +254,7 @@ jobs:
254
254
env:
255
255
DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
256
256
SQLX_OFFLINE_DIR: .sqlx
257
- RUSTFLAGS: --cfg postgres="${{ matrix.postgres }}"
257
+ RUSTFLAGS: -D warnings - -cfg postgres="${{ matrix.postgres }}"
258
258
259
259
- if : matrix.tls != 'none'
260
260
run : >
@@ -264,7 +264,7 @@ jobs:
264
264
env :
265
265
DATABASE_URL : postgres://postgres:password@localhost:5432/sqlx?sslmode=verify-ca&sslrootcert=.%2Ftests%2Fcerts%2Fca.crt
266
266
SQLX_OFFLINE_DIR : .sqlx
267
- RUSTFLAGS : --cfg postgres="${{ matrix.postgres }}"
267
+ RUSTFLAGS : -D warnings - -cfg postgres="${{ matrix.postgres }}"
268
268
269
269
# Remove test artifacts
270
270
- run : cargo clean -p sqlx
@@ -290,7 +290,7 @@ jobs:
290
290
DATABASE_URL: postgres://postgres:password@localhost:5432/sqlx
291
291
SQLX_OFFLINE: true
292
292
SQLX_OFFLINE_DIR: .sqlx
293
- RUSTFLAGS: --cfg postgres="${{ matrix.postgres }}"
293
+ RUSTFLAGS: -D warnings - -cfg postgres="${{ matrix.postgres }}"
294
294
295
295
postgres-ssl-auth :
296
296
name : Postgres SSL Auth
@@ -322,7 +322,7 @@ jobs:
322
322
--features any,postgres,macros,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }}
323
323
env:
324
324
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 }}"
326
326
327
327
mysql :
328
328
name : MySQL
0 commit comments