Skip to content

Commit

Permalink
Add semver checks and sanity-check build to create-release-pr (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
kflansburg authored Mar 29, 2024
1 parent cd41d40 commit d38a754
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,25 @@ jobs:
cargo update
NEW_VERSION=$(cargo metadata --no-deps --format-version 1 | jq -rc '.packages[] | select(.name=="worker") | .version')
echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
continue-on-error: true
with:
package: worker
verbose: true
release-type: minor
- name: Check semver (http)
uses: obi1kenobi/cargo-semver-checks-action@v2
continue-on-error: true
with:
package: worker
feature-group: all-features
verbose: true
release-type: minor
- name: Build workspace
run: cargo build --workspace
- name: Build workspace (http)
run: cargo build --package worker-sandbox --all-features
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
Expand Down

0 comments on commit d38a754

Please sign in to comment.