We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c070a55 commit 9c11389Copy full SHA for 9c11389
1 file changed
.github/workflows/test.yml
@@ -73,6 +73,35 @@ jobs:
73
exit 1
74
fi
75
76
+ verify-generated:
77
+ runs-on: ubuntu-latest
78
+
79
+ steps:
80
+ - name: Checkout
81
+ uses: actions/checkout@v4
82
83
+ - name: Install Go
84
+ uses: actions/setup-go@v5
85
+ with:
86
+ go-version: 1.24.x
87
88
+ - name: Install tools
89
+ run: make tools
90
91
+ - name: Regenerate yacc parser
92
+ run: |
93
+ cd expressions
94
+ goyacc expressions.y
95
+ gofmt -w y.go
96
97
+ - name: Check for differences
98
99
+ if [ -n "$(git status --porcelain)" ]; then
100
+ echo "Generated parser files are out of date. Please run 'go generate ./...' and commit the results."
101
+ git diff
102
+ exit 1
103
+ fi
104
105
verify-mod:
106
runs-on: ubuntu-latest
107
0 commit comments