mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
ci: add a dry-run workflow to test rust releases
This commit is contained in:
parent
4e9fededff
commit
cf98b9b61e
22
.github/workflows/crate_versions.yml
vendored
Normal file
22
.github/workflows/crate_versions.yml
vendored
Normal 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
|
||||
Loading…
Reference in a new issue