Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a semantic versioning checker #1219

Merged
merged 2 commits into from
Feb 2, 2024
Merged
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
29 changes: 29 additions & 0 deletions .github/workflows/semver-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: semver-checks

on:
schedule:
- cron: '0 21 * * THU' # Run every Thursday at 21:00 (UTC)
push:
tags:
- 'v*.*.*' # Run when a new version is being published

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
semver-checks:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v4

- name: Check semantic versioning violations
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
# cargo-semver-checks uses `all-features` by default, but `burn`
# publishes on crates.io with `default-features`
feature-group: default-features
# Exclude crates which are not published on crates.io
exclude: backend-comparison,burn-no-std-tests,onnx-tests,pytorch-tests
Loading