File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 5151 clippy_flags : >-
5252 --workspace --all-features --tests --examples --bins --
5353 -A unknown_lints -D clippy::todo -D clippy::dbg_macro
54-
55- public-api-diff :
56- name : Public API Diff
57- runs-on : ubuntu-latest
58- steps :
59- - name : Checkout main branch
60- uses : actions/checkout@v4
61- with :
62- ref : ${{ github.base_ref }}
63-
64- - name : Checkout PR branch
65- uses : actions/checkout@v4
66-
67- - name : Install Rust (${{ vars.RUST_VERSION_API_DIFF }})
68- uses : actions-rust-lang/setup-rust-toolchain@v1.12.0
69- with :
70- toolchain : ${{ vars.RUST_VERSION_API_DIFF }}
71-
72- - name : Install cargo-public-api
73- uses : taiki-e/install-action@v2.52.4
74- with :
75- tool : cargo-public-api
76-
77- - name : Generate API diff
78- run : |
79- for f in $(find -mindepth 2 -maxdepth 2 -name Cargo.toml); do
80- cargo public-api --manifest-path "$f" --simplified diff ${{ github.event.pull_request.base.sha }}..${{ github.sha }}
81- done
You can’t perform that action at this time.
0 commit comments