Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fail on warnings during CI builds (#19149)
Kirill Bulatov64911481966c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4222d64437d..eadd738fa5a 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -96,13 +96,13 @@ jobs:uses: ./.github/actions/run_tests- name: Build collab- run: cargo build -p collab+ run: RUSTFLAGS="-D warnings" cargo build -p collab- name: Build other binaries and featuresrun: |- cargo build --workspace --bins --all-features+ RUSTFLAGS="-D warnings" cargo build --workspace --bins --all-featurescargo check -p gpui --features "macos-blade"- cargo build -p remote_server+ RUSTFLAGS="-D warnings" cargo build -p remote_serverlinux_tests:timeout-minutes: 60@@ -134,7 +134,7 @@ jobs:uses: ./.github/actions/run_tests- name: Build Zed- run: cargo build -p zed+ run: RUSTFLAGS="-D warnings" cargo build -p zedbuild_remote_server:timeout-minutes: 60@@ -160,7 +160,7 @@ jobs:run: ./script/remote-server && ./script/install-mold 2.34.0- name: Build Remote Server- run: cargo build -p remote_server+ run: RUSTFLAGS="-D warnings" cargo build -p remote_server# todo(windows): Actually run the testswindows_tests:@@ -184,7 +184,7 @@ jobs:run: cargo xtask clippy- name: Build Zed- run: cargo build -p zed+ run: $env:RUSTFLAGS="-D warnings"; cargo buildbundle-mac:timeout-minutes: 60