From 1bc694878bf4063986b1ee0c28ebea0923ae1986 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 25 Dec 2024 18:55:40 +0100 Subject: [PATCH] ci: Use updated fork of cargo-public-api-crates (#3100) --- .github/workflows/CI.yml | 12 +++--------- .gitignore | 1 + 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4158a8cd..b50117bd 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -65,22 +65,16 @@ jobs: crate: [axum, axum-core, axum-extra, axum-macros] steps: - uses: actions/checkout@v4 - # Pinned version due to failing `cargo-public-api-crates`. - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly-2024-06-06 + - uses: dtolnay/rust-toolchain@nightly - uses: Swatinem/rust-cache@v2 with: save-if: ${{ github.ref == 'refs/heads/main' }} prefix-key: "v0-rust-ubuntu-24.04" - name: Install cargo-public-api-crates run: | - cargo install --git https://github.com/davidpdrsn/cargo-public-api-crates - - name: Build rustdoc - run: | - cargo rustdoc --all-features --manifest-path ${{ matrix.crate }}/Cargo.toml -- -Z unstable-options --output-format json + cargo install --git https://github.com/jplatte/cargo-public-api-crates - 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: needs: check diff --git a/.gitignore b/.gitignore index 22d9b57e..0a1ab0f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ target Cargo.lock .DS_Store +.vscode