Skip to content

Commit 2c755d9

Browse files
ci: Ensure that crates can be published ahead of the actual publish attempt
1 parent ccd0aa3 commit 2c755d9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Pre-release checks
2+
3+
on:
4+
push:
5+
branches:
6+
- release-plz-*
7+
8+
jobs:
9+
publish-dry-run:
10+
name: Publish (dry-run)
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v5
15+
with:
16+
fetch-depth: 0
17+
- name: Install Rust
18+
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
19+
- name: Publish to crates.io (dry-run)
20+
run: |
21+
cargo publish --dry-run --workspace

0 commit comments

Comments
 (0)