cargo-semver-checks/action.yml

25 lines
1.1 KiB
YAML
Raw Normal View History

name: 'cargo-semver-checks'
2022-07-21 01:34:12 +02:00
description: 'Ensure the public API in your Rust crate follows semantic versioning'
2022-08-10 07:28:06 +02:00
branding:
icon: 'check-circle'
2022-08-10 07:28:06 +02:00
color: 'green'
inputs:
2023-02-22 19:43:43 +01:00
package:
2023-03-01 00:43:41 +01:00
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 defined in the Cargo.toml file are processed.'
required: false
2023-01-03 20:39:25 +01:00
manifest-path:
2023-03-01 00:43:41 +01:00
description: 'Path to Cargo.toml of crate or workspace to check. If not specified, the action assumes the manifest is under the default `GITHUB_WORKSPACE` path.'
2023-01-03 20:39:25 +01:00
required: false
2023-01-03 20:49:57 +01:00
verbose:
description: 'Enables verbose output of `cargo-semver-checks`.'
type: boolean
required: true
default: false
2023-02-26 15:33:09 +01:00
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:
2023-01-09 00:46:08 +01:00
using: 'node16'
2023-02-20 19:53:29 +01:00
main: 'dist/index.js'