mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 07:20:12 +01:00
ci: Use updated fork of cargo-public-api-crates (#3100)
This commit is contained in:
parent
c7d2a59e78
commit
1bc694878b
2 changed files with 4 additions and 9 deletions
12
.github/workflows/CI.yml
vendored
12
.github/workflows/CI.yml
vendored
|
@ -65,22 +65,16 @@ jobs:
|
||||||
crate: [axum, axum-core, axum-extra, axum-macros]
|
crate: [axum, axum-core, axum-extra, axum-macros]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# Pinned version due to failing `cargo-public-api-crates`.
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
- uses: dtolnay/rust-toolchain@master
|
|
||||||
with:
|
|
||||||
toolchain: nightly-2024-06-06
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
prefix-key: "v0-rust-ubuntu-24.04"
|
prefix-key: "v0-rust-ubuntu-24.04"
|
||||||
- name: Install cargo-public-api-crates
|
- name: Install cargo-public-api-crates
|
||||||
run: |
|
run: |
|
||||||
cargo install --git https://github.com/davidpdrsn/cargo-public-api-crates
|
cargo install --git https://github.com/jplatte/cargo-public-api-crates
|
||||||
- name: Build rustdoc
|
|
||||||
run: |
|
|
||||||
cargo rustdoc --all-features --manifest-path ${{ matrix.crate }}/Cargo.toml -- -Z unstable-options --output-format json
|
|
||||||
- name: cargo public-api-crates check
|
- name: cargo public-api-crates check
|
||||||
run: cargo public-api-crates --manifest-path ${{ matrix.crate }}/Cargo.toml --skip-build check
|
run: cargo public-api-crates --manifest-path ${{ matrix.crate }}/Cargo.toml check
|
||||||
|
|
||||||
test-versions:
|
test-versions:
|
||||||
needs: check
|
needs: check
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
target
|
target
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.vscode
|
||||||
|
|
Loading…
Reference in a new issue