Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Smet committed Mar 11, 2024
1 parent a6e7379 commit 357e4b9
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 357e4b9

Please # to comment.