From 572ae5bbdf1cc4cdda2a6d1f6d6547c33afd9d69 Mon Sep 17 00:00:00 2001 From: Joseph Cruz Date: Fri, 22 Mar 2024 18:51:13 -0400 Subject: [PATCH] test(ci): check semver (#2450) * test(ci): check semver * chore: simulate change * fix(ci): add checkout * fix(ci): version typo * chore: remove simulated change --- .github/workflows/ci-semver.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci-semver.yml diff --git a/.github/workflows/ci-semver.yml b/.github/workflows/ci-semver.yml new file mode 100644 index 0000000000..00b6a8bba3 --- /dev/null +++ b/.github/workflows/ci-semver.yml @@ -0,0 +1,28 @@ +name: CI semver + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + get-leptos-changed: + uses: ./.github/workflows/get-leptos-changed.yml + + test: + needs: [get-leptos-changed] + if: needs.get-leptos-changed.outputs.leptos_changed == 'true' + name: Run semver check (nightly-2024-01-29) + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Sember Checks + uses: obi1kenobi/cargo-semver-checks-action@v2 + with: + rust-toolchain: nightly-2024-01-29