Option to compile vendored source from either Samsung or Telegram #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Semver Check for rlottie-sys | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/semver-rlottie-sys.yml' | |
- 'rlottie-sys/**/*' | |
jobs: | |
semver: | |
name: Semver Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
- uses: msrd0/install-rlottie-action@v1 | |
- name: Run cargo public-api diff latest | |
run: | | |
set -euo pipefail | |
cargo install cargo-public-api | |
echo '<details><summary>Output of <code>cargo public-api diff latest</code>:</summary>' >msg | |
echo >>msg | |
echo '```' >>msg | |
cargo public-api -p rlottie-sys diff latest | tee -a msg | |
echo '```' >>msg | |
echo >>msg | |
echo '</details>' >>msg | |
- uses: thollander/actions-comment-pull-request@v2 | |
with: | |
filePath: msg | |
comment_tag: cargo-public-api |