Ensure AL2 arm64 runs gcc10 while AL2 x64 runs gcc12 (#5252) #9008
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: yaml-lint | |
on: [push, pull_request] | |
jobs: | |
yaml-lint: | |
runs-on: ubuntu-latest | |
env: | |
PYTHON_VERSION: 3.9.12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Pipenv and Dependencies | |
run: | | |
python -m pip install --upgrade pipenv wheel | |
pipenv install --deploy --dev | |
- name: Lint YAML files | |
run: |- | |
pipenv run yamllint . |