From 06ed9946551af37f925a07837787aebb9929a596 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Sat, 20 Jul 2024 12:55:01 +0800 Subject: [PATCH] Check semver script --- .github/workflows/rust.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e7609d7..af4a5be 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,4 +36,19 @@ jobs: - name: Abort on error if: ${{ failure() }} - run: echo "Some of jobs failed" && false \ No newline at end of file + run: echo "Some of jobs failed" && false + + semver: + name: Check semver + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: obi1kenobi/cargo-semver-checks-action@v2