diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 0eb087e..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[build] -rustflags = ["-D", "warnings"] diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 8a4f6e2..d817fe9 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -69,6 +69,7 @@ jobs: cargo --locked auditable tauri android build env: NDK_HOME: ${{ env.ANDROID_HOME }}/ndk/27.0.11902837 + RUSTFLAGS: "-D warnings" - name: 🔑 Extract android signing key from env (publish only) run: | diff --git a/.github/workflows/desktop-tauri.yml b/.github/workflows/desktop-tauri.yml index c650f2e..ab8d57b 100644 --- a/.github/workflows/desktop-tauri.yml +++ b/.github/workflows/desktop-tauri.yml @@ -133,6 +133,7 @@ jobs: - name: 🔨 Build using tauri action (publish artifacts on release) uses: tauri-apps/tauri-action@8c3e0753aa015d00d03631d6d4f64ad59489251d # v0.5.15 env: + RUSTFLAGS: "-D warnings" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}