Skip to content

Commit 06046ea

Browse files
committed
go generate
1 parent 74129a1 commit 06046ea

File tree

2 files changed

+28
-327
lines changed

2 files changed

+28
-327
lines changed

.github/workflows/gen.yml

+28
Original file line numberDiff line numberDiff line change
@@ -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

-327
This file was deleted.

0 commit comments

Comments
 (0)