Skip to content

Separate workflows for build and running tests. #76

Separate workflows for build and running tests.

Separate workflows for build and running tests. #76

Workflow file for this run

name: On PR
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
jobs:
pre-commit:
uses: ./.github/workflows/pre-commit.yml
secrets: inherit
spdx:
uses: ./.github/workflows/spdx.yml
secrets: inherit
build:
uses: ./.github/workflows/run-build.yml

Check failure on line 16 in .github/workflows/on-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-pr.yml

Invalid workflow file

error parsing called workflow ".github/workflows/on-pr.yml" -> "./.github/workflows/run-build.yml" : You have an error in your yaml syntax on line 157
secrets: inherit
test:
needs: build
uses: ./.github/workflows/run-tests.yml
secrets: inherit