From 7ca68b76cede1965ec7beb74595b51fcc8f52599 Mon Sep 17 00:00:00 2001 From: Julian Wiesler Date: Fri, 24 May 2024 16:46:07 +0200 Subject: [PATCH] Public api workflow --- .github/workflows/async-stripe.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/async-stripe.yml b/.github/workflows/async-stripe.yml index 62a2f5bac..d4b817f01 100644 --- a/.github/workflows/async-stripe.yml +++ b/.github/workflows/async-stripe.yml @@ -146,3 +146,21 @@ jobs: # with: # name: code-coverage-report # path: lcov.info + + public-api: + continue-on-error: true + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@v1 + with: + toolchain: nightly + - uses: dtolnay/rust-toolchain@v1 + with: + toolchain: stable + - name: Install cargo-public-api + uses: baptiste0928/cargo-install@v3 + with: + crate: cargo-public-api + - name: Compare with latest version published on crates.io + run: cargo public-api diff latest --features runtime-tokio-hyper