chore(ci): confirm that all code changes have been committed #5
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: 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 Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- 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: Verify Patches | |
run: make patch-all | |
- name: Generate | |
run: | | |
make generate-all | |
# Expect all changes to be accounted for | |
! git status --porcelain | grep . |