Skip to content

Commit

Permalink
Treat warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm committed Nov 1, 2024
1 parent cb95cd8 commit df041f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ jobs:
run: |
cargo --locked auditable tauri android init
cp -a src-tauri/icons/android/mipmap-* src-tauri/gen/android/app/src/main/res/
cargo --locked auditable tauri android build
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: 1 addition & 0 deletions .github/workflows/desktop-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,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 }}
Expand Down

0 comments on commit df041f6

Please sign in to comment.