Skip to content

Commit ff0f4e7

Browse files
committed
fix: Use cargo publish --dry-run to detect any problem to publish as another test
1 parent b869555 commit ff0f4e7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/rust-check-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
override: true
3838
- name: Check
3939
run: cargo check --verbose
40-
- name: Run tests
40+
- name: Tests
4141
run: cargo test --verbose -- --show-output
42-
- name: Run ignored tests
42+
- name: Ignored tests
4343
run: cargo test --verbose -- --show-output --ignored
44+
- name: Dry run publish
45+
run: cargo publish --dry-run --verbose

.github/workflows/rust-nightly-check-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
override: true
4242
- name: Check
4343
run: cargo check --verbose
44-
- name: Run tests
44+
- name: Tests
4545
run: cargo test --verbose -- --show-output
46-
- name: Run ignored tests
46+
- name: Ignored tests
4747
run: cargo test --verbose -- --show-output --ignored
48+
- name: Dry run publish
49+
run: cargo publish --dry-run --verbose

0 commit comments

Comments
 (0)