Add PA plans #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |