Treat warnings as errors on CI builds (#2651)

This commit is contained in:
Yuri Astrakhan
2023-07-31 22:29:07 +02:00
committed by GitHub
parent a824e8468c
commit a8a0579713
4 changed files with 21 additions and 12 deletions

View File

@@ -33,6 +33,8 @@ jobs:
--release
--no-default-features
--features mysql,postgres,sqlite
env:
RUSTFLAGS: -D warnings
- uses: actions/upload-artifact@v3
with:
@@ -157,10 +159,9 @@ jobs:
# so we only check that it compiles.
- name: Chat (Check)
uses: actions-rs/cargo@v1
env:
with:
command: check
args: -p sqlx-example-postgres-check
args: -p sqlx-example-postgres-chat
- name: Files (Setup)
working-directory: examples/postgres/files