fix(ci): update github action versions to stable releases and fix exa… #2
This file contains hidden or 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: Data Quality Validation Example | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| # Example step using the ValidateX GitHub Action | |
| - name: Run Data Quality Gate | |
| uses: kaviarasanmani/ValidateX@main | |
| with: | |
| data-path: 'examples/sample_users.csv' | |
| suite-path: 'examples/sample_suite.yaml' | |
| report-path: 'reports/validation_report.html' | |
| json-report-path: 'reports/validation_report.json' | |
| - name: Upload Report Artifacts | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: validatex-report | |
| path: reports/ |