Skip to content

Commit

Permalink
remove -D warnings (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
khieta authored Sep 13, 2024
2 parents 8daee36 + cb98eac commit 4b8b147
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_downstream_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
path: cedar-spec/cedar
- name: build cedar-drt
working-directory: cedar-spec/cedar-drt
run: RUSTFLAGS="-D warnings" cargo build
run: cargo build
- name: build cedar-drt/fuzz
working-directory: cedar-spec/cedar-drt/fuzz
run: RUSTFLAGS="--cfg=fuzzing -D warnings" cargo build
run: RUSTFLAGS="--cfg=fuzzing" cargo build

cedar-java:
name: CedarJava
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run: bash config.sh run_int_tests
- name: build cedar-java/CedarJavaFFI
working-directory: cedar-java/CedarJavaFFI
run: RUSTFLAGS="-D warnings" cargo build
run: cargo build
- name: build cedar-java/CedarJava
working-directory: cedar-java/CedarJava
run: export MUST_RUN_CEDAR_INTEGRATION_TESTS=1 && ./gradlew build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo fmt --all --check
- run: RUSTFLAGS="-D warnings -F unsafe-code" cargo build --verbose --features "experimental"
- run: RUSTFLAGS="-D warnings -F unsafe-code" cargo build --verbose
- run: RUSTFLAGS="-F unsafe-code" cargo build --verbose --features "experimental"
- run: RUSTFLAGS="-F unsafe-code" cargo build --verbose
- run: cargo test --verbose --features "experimental"
- run: cargo test --verbose
- run: cargo doc --all-features
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo fmt --all --check
- run: RUSTFLAGS="-D warnings -F unsafe-code" cargo build --verbose
- run: RUSTFLAGS="-F unsafe-code" cargo build --verbose
- run: cargo test --verbose --features "experimental"
- run: cargo test --verbose
- run: cargo doc --all-features
Expand Down

0 comments on commit 4b8b147

Please sign in to comment.