From a58830ed99f44edf8a2f92db4fb87034c9ad4e2b Mon Sep 17 00:00:00 2001 From: Hendrik Sollich Date: Wed, 22 Nov 2023 18:40:09 +0100 Subject: [PATCH] ci: test semver --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40fdca77..a00fcf63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: - name: check all features run: cargo check --all-features + test: name: cargo-test ... runs-on: ubuntu-latest @@ -41,6 +42,20 @@ jobs: - name: test (with TZ) run: cargo test --features chrono-tz + - name: check semver + uses: obi1kenobi/cargo-semver-checks-action@v2 + + semver: + name: cargo-test ... + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + + - name: check semver + uses: obi1kenobi/cargo-semver-checks-action@v2 + fmtclippy: runs-on: ubuntu-latest steps: