Skip to content

Commit b188188

Browse files
committed
chore: update RUSTFLAGS and remove unused flag
- Add `-D warnings` to `RUSTFLAGS`. Ref: f896a8e - Remove unnecessary `--force` flag of diesel installation
1 parent 76c0f39 commit b188188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
DATABASE_URL: postgres://postgres:@localhost/cargo_registry_test
6868
TEST_DATABASE_URL: postgres://postgres:@localhost/cargo_registry_test
6969
CARGO_INCREMENTAL: 0
70-
RUSTFLAGS: "-C debuginfo=0"
70+
RUSTFLAGS: "-C debuginfo=0 -D warnings"
7171

7272
steps:
7373
- uses: actions/checkout@v2-beta
@@ -175,7 +175,7 @@ jobs:
175175
176176
- name: Setup database
177177
run: |
178-
which diesel || cargo install diesel_cli --force --vers $(cat .diesel_version) --no-default-features --features postgres
178+
which diesel || cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres
179179
diesel database setup --locked-schema
180180
181181
- name: Lint

0 commit comments

Comments
 (0)