Skip to content

github: workflow: Use reusable workflow for all CI jobs #3

github: workflow: Use reusable workflow for all CI jobs

github: workflow: Use reusable workflow for all CI jobs #3

name: Build and Publish
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
sanity-check:
uses: ./.github/workflows/ci-tests.yaml@dev

Check failure on line 12 in .github/workflows/build-and-publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-publish.yaml

Invalid workflow file

invalid value workflow reference: cannot specify version when calling local workflows
build-ccpp:
uses: ./.github/workflows/build-ccpp.yaml@dev
needs: sanity-check
build-debug-ccpp:
uses: ./.github/workflows/build-debug-ccpp.yaml@dev
needs: sanity-check
build-debug-python:
uses: ./.github/workflows/build-debug-python.yaml@dev
needs: sanity-check
build-python:
uses: ./.github/workflows/build-python.yaml@dev
needs: sanity-check
build-debug-rust:
uses: ./.github/workflows/build-debug-rust.yaml@dev
needs: sanity-check
build-rust:
uses: ./.github/workflows/build-rust.yaml
needs: sanity-check
publish-torizon-utils:
uses: ./.github/workflows/publish-torizon-utils.yaml@dev
needs:
- build-ccpp
- build-debug-ccpp
- build-debug-python
- build-python
- build-debug-rust
- build-rust