Skip to content

updated workflow/test-pr.yaml #23

updated workflow/test-pr.yaml

updated workflow/test-pr.yaml #23

Workflow file for this run

name: "CI - Test Templates"
on:
pull_request:
jobs:
detect-changes:
runs-on: ubuntu-latest
outputs:
templates: ${{ steps.filter.outputs.changes }}
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
color: ./**/color/**
hello: ./**/hello/**
test:
needs: [detect-changes]
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ needs.detect-changes.outputs.templates != '[]' && needs.detect-changes.outputs.templates != ''}

Check failure on line 22 in .github/workflows/test-pr.yaml

View workflow run for this annotation

GitHub Actions / CI - Test Templates

Invalid workflow file

The workflow is not valid. .github/workflows/test-pr.yaml (Line: 22, Col: 9): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
strategy:
matrix:
templates: ${{ fromJSON(needs.detect-changes.outputs.templates) }}
steps:
- uses: actions/checkout@v3
- name: Smoke test for '${{ matrix.templates }}'
id: smoke_test
uses: ./.github/actions/smoke-test
with:
template: "${{ matrix.templates }}"