diff --git a/.github/workflows/rust-lint.yml b/.github/workflows/rust-lint.yml index bf56b4d675..0416594f01 100644 --- a/.github/workflows/rust-lint.yml +++ b/.github/workflows/rust-lint.yml @@ -26,7 +26,7 @@ jobs: components: clippy - name: disable clippy for sqlparser-rs - run: echo -e "\n#![allow(clippy)]" >> nexus/sqlparser-rs/src/lib.rs + run: sed -i '1s/^/#![allow(clippy)]/' nexus/sqlparser-rs/src/lib.rs - name: clippy