Skip to content

Testing

Testing #76

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
test:
uses: ./.github/workflows/test.yml

Check failure on line 7 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build.yml" -> "./.github/workflows/test.yml" (source branch with sha:ef3375870b948d437518f39aebb08ee2bdcc1253) : (Line: 1, Col: 1): Required property is missing: jobs
with:
dfhack_repo: ${{ github.repository }}
dfhack_ref: ${{ github.ref }}
secrets: inherit
package:
uses: ./.github/workflows/package.yml
with:
dfhack_repo: ${{ github.repository }}
dfhack_ref: ${{ github.ref }}
secrets: inherit
docs:
uses: ./.github/workflows/build-linux.yml
with:
dfhack_repo: ${{ github.repository }}
dfhack_ref: ${{ github.ref }}
platform-files: false
common-files: false
docs: true
secrets: inherit
lint:
uses: ./.github/workflows/lint.yml
with:
dfhack_repo: ${{ github.repository }}
dfhack_ref: ${{ github.ref }}
secrets: inherit
check-pr:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Check that PR is based on develop branch
env:
BASE_BRANCH: ${{ github.base_ref }}
run: |
echo "PR base branch: $BASE_BRANCH"
test "$BASE_BRANCH" = develop