Skip to content

Commit

Permalink
check docs warnings in CI (davidcole1340#180)
Browse files Browse the repository at this point in the history
* check docs warnings in CI

* works

* format
  • Loading branch information
davidcole1340 authored Nov 13, 2022
1 parent a160f2a commit 3b1e2e3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,25 @@ jobs:
with:
command: fmt
args: --all -- --check
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest' && matrix.php == '8.1'
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all -- -D warnings
if: matrix.rust == 'stable'
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest' && matrix.php == '8.1'
- name: Run rustdoc
uses: actions-rs/cargo@v1
with:
command: rustdoc
args: -- -D warnings
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest' && matrix.php == '8.1'
- name: Build with docs stub
if: "contains(matrix.os, 'ubuntu') && matrix.php == '8.1'"
env:
DOCS_RS:
run:
cargo clean && cargo build
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest' && matrix.php == '8.1'
build-zts:
name: Build with ZTS
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3b1e2e3

Please sign in to comment.