Skip to content

Merge pull request #19 from TPAFS/add_tic_links #28

Merge pull request #19 from TPAFS/add_tic_links

Merge pull request #19 from TPAFS/add_tic_links #28

Workflow file for this run

name: validate-csvs
on:
workflow_dispatch:
pull_request:
types:
- "opened"
- "synchronize"
- "reopened"
branches:
- "main"
paths:
- "**.csv"
push:
branches:
- "main"
jobs:
validate-csvs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build csv validator
run: cargo build --manifest-path ./validator/Cargo.toml --release
- name: Validate hospital price data
run: ./validator/target/release/validator ./price_transparency/hospitals/machine_readable_links.csv hospital_price_transparency
- name: Validate insurer homepages
run: ./validator/target/release/validator ./price_transparency/insurers/machine_readable_homepages.csv insurer_homepages
- name: Validate hospital existence
run: ./validator/target/release/validator ./existence_transparency/hospitals/hospitals.csv hospital_existence
- name: Validate insurer existence (insurers)
run: ./validator/target/release/validator ./existence_transparency/insurers/insurers.csv insurer_existence_insurers
- name: Validate insurer existence (issuers)
run: ./validator/target/release/validator ./existence_transparency/insurers/issuers.csv insurer_existence_issuers
- name: Validate insurer existence (plans)
run: ./validator/target/release/validator ./existence_transparency/insurers/plans.csv insurer_existence_plans