mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-10 04:05:49 +00:00
Treat warnings as errors on CI builds (#2651)
This commit is contained in:
5
.github/workflows/examples.yml
vendored
5
.github/workflows/examples.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user