Skip to content

Commit

Permalink
Add needs and generate code only for SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianczech committed Mar 25, 2024
1 parent c3ed2c8 commit dc7d31a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- ready_for_review

jobs:
ci:
name: Run CI
test:
name: Continuous integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -42,6 +42,7 @@ jobs:
- name: Test codegen
run: go test -v ./...
generate:
needs: ci
name: Generate code
runs-on: ubuntu-latest
steps:
Expand All @@ -58,8 +59,8 @@ jobs:
- name: Build codegen
run: go build -v ./...

- name: Execute codegen
run: go run cmd/codegen/main.go
- name: Execute codegen for SDK
run: go run cmd/codegen/main.go -t mksdk

- name: List Generated Files
run: |
Expand Down

0 comments on commit dc7d31a

Please sign in to comment.