test semver github action #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |