Skip to content

Commit

Permalink
chore: Move treat warnings as error flag to config (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm authored Nov 2, 2024
1 parent ca7e505 commit 3a3136b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = ["-D", "warnings"]
1 change: 0 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ 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: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/desktop-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ 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 }}
Expand Down

0 comments on commit 3a3136b

Please sign in to comment.