Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Mar 27, 2024
1 parent e839981 commit e5eb24d
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,32 @@ jobs:
name: Demo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# 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
- name: πŸ‘Ž Invalid CSV file - Report as Table
uses: jbzoo/csv-blueprint@master
with:
csv: files/demo.csv
schema: files/demo_invalid.yml
csv: files/*.csv
schema: files/*.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
- name: πŸ‘Ž Invalid CSV file - Report as GitHub Annotations
uses: jbzoo/csv-blueprint@master
with:
csv: files/demo.csv
schema: files/demo_invalid.yml
output: table # Report customisation
csv: files/*.csv
schema: files/*.yml
report: github # 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

- name: πŸ‘Ž Invalid CSV file - Report as Text

# Minimal valid example
- name: πŸ‘ Valid CSV file
uses: jbzoo/csv-blueprint@master
with:
csv: files/demo.csv
schema: files/demo_invalid.yml
output: text # 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
schema: files/demo_valid.yml

0 comments on commit e5eb24d

Please # to comment.