Skip to content

build(deps): bump serde from 1.0.198 to 1.0.199 (#212) #47

build(deps): bump serde from 1.0.198 to 1.0.199 (#212)

build(deps): bump serde from 1.0.198 to 1.0.199 (#212) #47

# 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