We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74129a1 commit 06046eaCopy full SHA for 06046ea
.github/workflows/gen.yml
@@ -0,0 +1,28 @@
1
+name: Generate
2
+on:
3
+ push:
4
+ branches: [ '*' ]
5
+
6
+permissions:
7
+ contents: read
8
9
+jobs:
10
+ test:
11
+ strategy:
12
+ matrix:
13
+ go-version: [1.22.x, 1.23.x]
14
+ os: [ubuntu-latest]
15
+ runs-on: ${{ matrix.os }}
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-go@v5
19
+ with:
20
+ go-version: ${{ matrix.go-version }}
21
+ - run: make gen
22
+ - run: git add .
23
24
+ - name: if any modified files exists
25
+ run: |
26
+ if [ `git status --porcelain | wc -l` -gt 0 ]; then
27
+ git --no-pager diff
28
+ fi
internal/tests/fc/array_gen.go
0 commit comments