Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Semver check
on:
pull_request: {}
push:
branches: ["develop"]

jobs:
semver:
runs-on: ubuntu-latest
steps:
- uses: runs-on/action@v2
with:
sccache: s3
- uses: actions/checkout@v5
- uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run:
echo "BASELINE=$(gh release view --json tagName -t '{{.tagName}}')" >> $GITHUB_OUTPUT
id: latest_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided token
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
baseline-version: ${{ steps.latest_release.outputs.BASELINE}}
feature-group: default-features
Loading