Skip to content

Commit

Permalink
test semver github action
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzcxu committed Nov 30, 2023
1 parent 155233d commit e9eea3a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/semver_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Cargo semver check

on:
pull_request:
push:

env:
CARGO_TERM_COLOR: always

jobs:
cargo_semver_checks:
name: Cargo SemVer Checks
runs-on: ubuntu-latest
# Make this check mandatory for release branches.
continue-on-error: ${{ !startsWith(github.base_ref, 'release/') }}
strategy:
matrix:
toolchain:
- stable
steps:
- name: Check out head (${{ github.head_ref }})
uses: actions/checkout@v3
- name: Check semver for all crates from my-workspace
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
manifest-path: ${{ github.workspace }}/Cargo.toml # or just semver/my-workspace/
# package: cedar-policy-core

0 comments on commit e9eea3a

Please sign in to comment.