Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
RUSTFLAGS: -D warnings
RUSTFLAGS: ${{ github.ref == 'refs/heads/main' && '-D warnings' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ on:
types: [checks_requested]

env:
RUSTFLAGS: -Dwarnings
RUSTFLAGS: ${{ github.ref == 'refs/heads/main' && '-D warnings' || '' }}

jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
timeout-minutes: 60
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -151,7 +152,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
RUSTDOCFLAGS: -D warnings
RUSTDOCFLAGS: ${{ github.ref == 'refs/heads/main' && '-D warnings' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/webassembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
timeout-minutes: 60
env:
WASM_PACK_PATH: ~/.cargo/bin/wasm-pack
RUSTFLAGS: -D warnings
RUSTFLAGS: ${{ github.ref == 'refs/heads/main' && '-Dwarnings' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down