diff --git a/.github/workflows/womtool.yml b/.github/workflows/womtool.yml new file mode 100644 index 0000000..451489b --- /dev/null +++ b/.github/workflows/womtool.yml @@ -0,0 +1,39 @@ +name: Womtool + +# Enable Buildkit and let compose use it to speed up image building +env: + DOCKER_BUILDKIT: 1 + COMPOSE_DOCKER_CLI_BUILD: 1 + +on: + pull_request: + branches: [ "main" ] + paths-ignore: [ "docs/**" ] + + push: + branches: [ "main" ] + paths-ignore: [ "docs/**" ] + +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + + run-womtool: + runs-on: ubuntu-latest + strategy: + matrix: + wdl-file: ["validate_gsr_model.wdl"] + + name: "Run womtool: ${{ matrix.wdl_file }}" + + steps: + + - name: Checkout Code Repository + uses: actions/checkout@v4 + + - name: Run womtool + uses: UW-GAC/womtool-action@main + with: + wdl-file: ${{ matrix.wdl_file }}