mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-22 07:59:32 +01:00
26 lines
1,009 B
YAML
26 lines
1,009 B
YAML
name: 'cargo-semver-checks'
|
|
description: 'Ensure the public API in your Rust crate follows semantic versioning'
|
|
branding:
|
|
icon: 'check-circle'
|
|
color: 'green'
|
|
inputs:
|
|
package:
|
|
description: 'The package whose API to check for semver (in Package Id Specification format, see https://doc.rust-lang.org/cargo/reference/pkgid-spec.html for reference). If not set, all packages in the workspace are processed.'
|
|
required: false
|
|
default: ''
|
|
manifest-path:
|
|
description: 'Path to Cargo.toml of crate or workspace to check.'
|
|
required: false
|
|
default: ''
|
|
verbose:
|
|
description: 'Enables verbose output of `cargo-semver-checks`.'
|
|
type: boolean
|
|
required: true
|
|
default: false
|
|
github-token:
|
|
description: 'The `GITHUB_TOKEN` secret used to download precompiled binaries from GitHub API. If not specified, the automatic GitHub token provided to the workflow will be used.'
|
|
required: false
|
|
default: ${{ github.token }}
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|