Skip to content

Commit

Permalink
Extend PR pipeline to generate files
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianczech committed Mar 25, 2024
1 parent 25ec702 commit c3ed2c8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,27 @@ jobs:

- name: Test codegen
run: go test -v ./...
generate:
name: Generate code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Download Go dependencies
run: go get ./... && go mod tidy

- name: Build codegen
run: go build -v ./...

- name: Execute codegen
run: go run cmd/codegen/main.go

- name: List Generated Files
run: |
echo "Generated Files:"
ls ../generated/pango

0 comments on commit c3ed2c8

Please sign in to comment.