Skip to content

Commit ee41519

Browse files
authored
Merge pull request #1265 from twmb/parser
parser updates, and kmsg protocol bug fixes
2 parents b1c933c + e9bc5cf commit ee41519

File tree

13 files changed

+1186
-336
lines changed

13 files changed

+1186
-336
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: validate definitions
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
paths:
7+
- 'generate/**'
8+
pull_request:
9+
branches: ["*"]
10+
paths:
11+
- 'generate/**'
12+
13+
concurrency:
14+
group: validate-definitions-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
validate-definitions:
19+
if: github.repository == 'twmb/franz-go'
20+
runs-on: ubuntu-latest
21+
name: "validate DSL against Kafka JSON"
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: actions/setup-go@v5
25+
with:
26+
go-version: 'stable'
27+
- uses: actions/checkout@v4
28+
with:
29+
repository: apache/kafka
30+
path: kafka
31+
sparse-checkout: clients/src/main/resources/common/message
32+
- run: cd generate && go test -run TestValidateDSLAgainstKafkaJSON -v
33+
env:
34+
KAFKA_DIR: ${{ github.workspace }}/kafka

0 commit comments

Comments
 (0)