Skip to content

Commit badf68c

Browse files
committed
chore(modulegen): automate project files detection
1 parent f083cdd commit badf68c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci-lint-go.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
make generate
4646
git --no-pager diff && [[ 0 -eq $(git status --porcelain | wc -l) ]]
4747
48+
- name: generate project files by modulegen
49+
if: ${{ inputs.project-directory == 'modulegen' }}
50+
working-directory: ./${{ inputs.project-directory }}
51+
shell: bash
52+
run: go run . refresh
53+
4854
- name: modTidy
4955
working-directory: ./${{ inputs.project-directory }}
5056
shell: bash

0 commit comments

Comments
 (0)