cicd: separate sanitize workflow + manual trigger for build workflow

This commit is contained in:
Andrew Hlynskyi 2023-04-08 01:47:57 +03:00
parent 978a2db239
commit bb122d6d47
3 changed files with 47 additions and 32 deletions

View file

@ -46,6 +46,11 @@ jobs:
with:
package: tree-sitter-cli
sanitize:
name: Sanitize
needs: [init, fast_checks]
uses: ./.github/workflows/sanitize.yml
build:
name: Build & Test
needs: [init, fast_checks]
@ -55,7 +60,7 @@ jobs:
release:
name: Release
needs: [init, fast_checks, full_checks, min_version, build]
needs: [init, fast_checks, full_checks, min_version, build, sanitize]
if: >
github.event.pull_request.head.repo.full_name == github.repository &&
startsWith(github.head_ref, 'release/v')