File tree 2 files changed +1
-29
lines changed
2 files changed +1
-29
lines changed Original file line number Diff line number Diff line change 64
64
env :
65
65
RUSTDOCFLAGS : -D warnings
66
66
run : cargo doc --workspace --no-deps --all-features
67
-
68
- public-api-diff :
69
- runs-on : ubuntu-latest
70
- steps :
71
- - name : Checkout main branch
72
- uses : actions/checkout@v4
73
- with :
74
- ref : ${{ github.base_ref }}
75
-
76
- - name : Checkout PR branch
77
- uses : actions/checkout@v4
78
-
79
- - name : Install Rust
80
- uses :
actions-rust-lang/[email protected]
81
- with :
82
- toolchain : nightly-2024-09-10
83
-
84
- - name : Install cargo-public-api
85
-
86
- with :
87
- tool : cargo-public-api
88
-
89
- - name : Generate API diff
90
- run : |
91
- for f in $(find -mindepth 2 -maxdepth 2 -name Cargo.toml); do
92
- cargo public-api --manifest-path "$f" --all-features diff ${{ github.event.pull_request.base.sha }}..${{ github.sha }} >> /tmp/diff.txt
93
- done
94
- cat /tmp/diff.txt
Original file line number Diff line number Diff line change 8
8
![ MIT or Apache 2.0 licensed] ( https://img.shields.io/crates/l/oas3.svg )
9
9
<br />
10
10
[ ![ CI] ( https://github.com/x52dev/oas3-rs/actions/workflows/ci.yml/badge.svg )] ( https://github.com/x52dev/oas3-rs/actions/workflows/ci.yml )
11
- [ ![ codecov] ( https://codecov.io/gh/x52dev/oas3-rs/branch/main/ graph/badge.svg )] ( https://codecov.io/gh/x52dev/oas3-rs )
11
+ [ ![ codecov] ( https://codecov.io/gh/x52dev/oas3-rs/graph/badge.svg?token=OpYe6I7dj5 )] ( https://codecov.io/gh/x52dev/oas3-rs )
12
12
![ Version] ( https://img.shields.io/crates/msrv/oas3.svg )
13
13
[ ![ Download] ( https://img.shields.io/crates/d/oas3.svg )] ( https://crates.io/crates/oas3 )
14
14
You can’t perform that action at this time.
0 commit comments