Skip to content

refactor: API Sync by GitHub Action for @ctreatma (#19) #41

refactor: API Sync by GitHub Action for @ctreatma (#19)

refactor: API Sync by GitHub Action for @ctreatma (#19) #41

Workflow file for this run

name: Test metalv1 codegen
on:
push:
paths:
- "**/metalv1/**"
pull_request:
paths:
- "**/metalv1/**"
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Verify Patches
run: make -f Makefile.metalv1 patch
- name: Generate
run: |
make -f Makefile.metalv1 generate
# Expect all changes to be accounted for
! git status --porcelain | grep .