feat: ensure successful round-trip of RON (#193) #24
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
# Runs `cargo publish --dry-run` before another release | |
name: Check crate publishing works | |
on: | |
pull_request: | |
branches: [ release ] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
cargo_publish_dry_run: | |
name: Publishing works | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install stable Rust | |
uses: dtolnay/rust-toolchain | |
- name: Get Cargo version | |
id: cargo_version | |
run: echo "::set-output name=version::$(cargo -V | tr -d ' ')" | |
shell: bash | |
- name: Run `cargo publish --dry-run` | |
run: cargo publish --dry-run |