diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index bdf00cf..db2b978 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -9,32 +9,36 @@ on: - 'master' jobs: - github-actions: - name: GitHub Actions + demo: + name: Demo runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - fetch-depth: 0 + - uses: actions/checkout@v3 + # Minimal example - name: 👍 Valid CSV file uses: jbzoo/csv-blueprint@master with: csv: files/demo.csv schema: files/demo_valid.yml + - name: 👎 Invalid CSV file - Report as GitHub Annotations uses: jbzoo/csv-blueprint@master with: csv: files/demo.csv schema: files/demo_invalid.yml + # Continue to next steps even if the action fails + # It's just a demo. In real life, you should fix the schema and remove `continue-on-error` continue-on-error: true + - name: 👎 Invalid CSV file - Report as Table uses: jbzoo/csv-blueprint@master with: csv: files/demo.csv schema: files/demo_invalid.yml - output: table + output: table # Report customisation + # Continue to next steps even if the action fails + # It's just a demo. In real life, you should fix the schema and remove `continue-on-error` continue-on-error: true