Skip to content

chore: move Python version specification to a file #28

chore: move Python version specification to a file

chore: move Python version specification to a file #28

Workflow file for this run

name: Generate and lint code
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install pyaml for patching script
working-directory: ${{ env.PACKAGE_DIR }}
run: |
python -m pip install pyaml
- name: Checkout code
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version-file: .python-version
- name: Verify Patches
run: make patch-all
- name: Generate
run: |
make generate-all
# Expect all changes to be accounted for
! git status --porcelain | grep .