Skip to content

Commit 1d43abc

Browse files
committed
ci: remove public-api-diff job
1 parent 211bdc2 commit 1d43abc

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,31 +51,3 @@ jobs:
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

0 commit comments

Comments
 (0)