mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-11-30 04:39:04 +01:00
check docs warnings in CI (#180)
* check docs warnings in CI * works * format
This commit is contained in:
parent
a160f2a2a0
commit
3b1e2e3848
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user