ci: add a dry-run workflow to test rust releases

This commit is contained in:
Will Lillis 2026-02-04 02:37:20 -05:00 committed by Christian Clason
parent 4e9fededff
commit cf98b9b61e

22
.github/workflows/crate_versions.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Crate Versions Check
on:
pull_request_target:
types: [labeled]
workflow_dispatch:
jobs:
check-crates:
runs-on: ubuntu-latest
if: github.event.label.name == 'ci:check release'
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Publishing dry run
uses: katyo/publish-crates@v2
with:
dry-run: true