Skip to content

Convert main.yml CI into callable workflows #4619

Convert main.yml CI into callable workflows

Convert main.yml CI into callable workflows #4619

Workflow file for this run

name: hdf5 dev CI
# Controls when the action will run. Triggers the workflow on push or pull request
on:
workflow_dispatch:
push:
pull_request:
branches: [ develop ]
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
- 'doc/**'
- 'release_docs/**'
- 'ACKNOWLEDGEMENTS'
- 'COPYING**'
- '**.md'
# Using concurrency to cancel any in-progress job or run
concurrency:
group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}
cancel-in-progress: true
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or
# in parallel. We just have one job, but the matrix items defined below will
# run in parallel.
jobs:
workflow-autotools:
name: "Autotools Workflows"
uses: ./.github/workflows/autotools.yml
workflow-cmake:
name: "CMake Workflows"
runs-on: ubuntu-latest
uses: ./.github/workflows/cmake.yml

Check failure on line 37 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / hdf5 dev CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 37, Col: 5): Unexpected value 'uses'