Skip to content

Commit

Permalink
chore: update publish workflow to use check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sjungling committed Aug 27, 2024
1 parent 96df49d commit 3cfd807
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [main]

jobs:
publish:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ on:
- patch

jobs:
check:
uses: ./.github/workflows/checks.yml
secrets: inherit
publish:
needs: [check]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -30,14 +34,6 @@ jobs:
pip install twine
pip install ".[ci]"
- name: Check sentence casing
run: |
poe check-sentence-casing
- name: Check options
run: |
poe check-options
- name: Bump version and commit change
run: |
semantic-release version --${{ github.event.inputs.scope }}
Expand Down

0 comments on commit 3cfd807

Please sign in to comment.