Skip to content

Commit

Permalink
Dry run cargo publish and cargo release in CI
Browse files Browse the repository at this point in the history
Try to catch publish issues in advance
  • Loading branch information
dburgener committed Jan 21, 2025
1 parent eaecb9a commit 404b7eb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ jobs:
toolchain: nightly
- name: Check the minimum possible crate versions
run: rm Cargo.lock && cargo +nightly build -Zdirect-minimal-versions
publish_dry_run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dry run lalrpop-util (cargo publish)
run: cargo publish --dry-run -p lalrpop-util
- name: Dry run lalrpop (cargo publish)
run: cargo publish --dry-run -p lalrpop

feature_powerset:
runs-on: ubuntu-latest
# Don't do expensive test if we're just going to fail on linting
Expand Down

0 comments on commit 404b7eb

Please sign in to comment.