Skip to content

Commit

Permalink
ci: run build, check and test workflow before release
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcenteno committed Sep 11, 2023
1 parent 8e332bc commit 53c95da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-check-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches: [main]
pull_request:
branches: ["*"]
workflow_call: # Allow other workflows to call this workflow.

concurrency:
group: ${{ github.head_ref || github.run_id }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/crates-io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:

jobs:

# Ensure that this tag passes our automated quality checks before publishing
# to `crates.io`.
call-build-check-and-test-workflow:
name: "Call build, check and test workflow"
uses: ".github/workflows/build-check-test.yaml"

publish:
name: Publish to crates.io
runs-on: ubuntu-latest
Expand Down

0 comments on commit 53c95da

Please sign in to comment.