From 716f9bc3bd253e697d8ad880a4a0661f0c68fae1 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Fri, 14 Jun 2024 13:08:14 -0400 Subject: [PATCH] ci: Temporarily turn off warnings-as-errors for nightly CI jobs The dead_code lint on nightly is currently incorrectly flagging a lot of structs as unused. --- .github/workflows/rust.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5fc22ba11..24c8ff538 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -123,6 +123,11 @@ jobs: build_feature_permutations: name: Build (feature permutations) runs-on: ubuntu-latest + env: + # TODO: temporarily allow warnings to not be errors on nightly due to + # incorrect dead_code lint. + # https://github.com/rust-osdev/uefi-rs/issues/1205 + RUSTFLAGS: "" steps: - name: Checkout sources uses: actions/checkout@v4 @@ -134,6 +139,11 @@ jobs: nightly_channel: name: Build (nightly + unstable feature) runs-on: ubuntu-latest + env: + # TODO: temporarily allow warnings to not be errors on nightly due to + # incorrect dead_code lint. + # https://github.com/rust-osdev/uefi-rs/issues/1205 + RUSTFLAGS: "" steps: - name: Checkout sources uses: actions/checkout@v4