Skip to content

Commit 1bc6948

Browse files
authored
ci: Use updated fork of cargo-public-api-crates (#3100)
1 parent c7d2a59 commit 1bc6948

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,16 @@ jobs:
6565
crate: [axum, axum-core, axum-extra, axum-macros]
6666
steps:
6767
- uses: actions/checkout@v4
68-
# Pinned version due to failing `cargo-public-api-crates`.
69-
- uses: dtolnay/rust-toolchain@master
70-
with:
71-
toolchain: nightly-2024-06-06
68+
- uses: dtolnay/rust-toolchain@nightly
7269
- uses: Swatinem/rust-cache@v2
7370
with:
7471
save-if: ${{ github.ref == 'refs/heads/main' }}
7572
prefix-key: "v0-rust-ubuntu-24.04"
7673
- name: Install cargo-public-api-crates
7774
run: |
78-
cargo install --git https://github.com/davidpdrsn/cargo-public-api-crates
79-
- name: Build rustdoc
80-
run: |
81-
cargo rustdoc --all-features --manifest-path ${{ matrix.crate }}/Cargo.toml -- -Z unstable-options --output-format json
75+
cargo install --git https://github.com/jplatte/cargo-public-api-crates
8276
- name: cargo public-api-crates check
83-
run: cargo public-api-crates --manifest-path ${{ matrix.crate }}/Cargo.toml --skip-build check
77+
run: cargo public-api-crates --manifest-path ${{ matrix.crate }}/Cargo.toml check
8478

8579
test-versions:
8680
needs: check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
target
22
Cargo.lock
33
.DS_Store
4+
.vscode

0 commit comments

Comments
 (0)