Deploy greenlight scan as AWS Lambda; move to py3.13 (#8459) #2171
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: Scale Config Validator | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - .github/workflows/scale_config_validation.yml | |
| - .github/scale-config.yml | |
| - .github/scripts/validate_scale_config.py | |
| jobs: | |
| scale-config-validation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: 3.11 | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| pip install pyyaml==6.0.1 jsonschema==4.23.0 | |
| - name: Validate Scale Config | |
| run: | | |
| pwd | |
| python3 .github/scripts/validate_scale_config.py |