Code generation for removing required fields from project model #68
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: Test fabricv4 codegen | |
on: | |
push: | |
paths: | |
- "**/fabricv4/**" | |
pull_request: | |
paths: | |
- "**/fabricv4/**" | |
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.fabricv4 patch | |
- name: Generate | |
run: | | |
make -f Makefile.fabricv4 generate | |
# Expect all changes to be accounted for | |
! git status --porcelain | grep . |