Skip to content

Commit

Permalink
chore: treat warnings as errors for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
raklaptudirm committed Apr 13, 2024
1 parent f0e65ea commit f62ba90
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ on:
- pull_request

env:
RUSTFLAGS: -D warnings # treat warnings as errors
CARGO_TERM_COLOR: always # use colors when printing
# treat warnings as errors
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings

# use colors when printing
CARGO_TERM_COLOR: always

jobs:
build_and_test:
Expand All @@ -22,6 +26,8 @@ jobs:

steps:
- uses: actions/checkout@v4

# update rust to latest stable version
- run: rustup update stable && rustup default stable

- run: cargo clippy # look for lint errors
Expand Down

0 comments on commit f62ba90

Please sign in to comment.