Move Metal templates to service-specific dir #10
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: 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@v4 | |
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 . |