File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed
Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -171,12 +171,37 @@ jobs:
171171 working-directory : ./app
172172 run : yarn
173173
174- - name : run check
175- run : make protos-check
174+ - name : setup go ${{ env.GO_VERSION }}
175+ uses : actions/setup-go@v2
176+ with :
177+ go-version : ' ${{ env.GO_VERSION }}'
176178
177179 - name : compile rpc for golang
178180 run : make rpc
179181
182+ - name : run check
183+ run : make mod-check
184+
185+ lint :
186+ name : lint
187+ runs-on : ubuntu-latest
188+ steps :
189+ - name : git checkout
190+ uses : actions/checkout@v2
191+ with :
192+ fetch-depth : 0
193+
194+ - name : setup go ${{ env.GO_VERSION }}
195+ uses : actions/setup-go@v2
196+ with :
197+ go-version : ' ${{ env.GO_VERSION }}'
198+
199+ - name : prepare dummy static data
200+ run : mkdir -p app/build; touch app/build/index.html
201+
202+ - name : run check
203+ run : make lint mod-check
204+
180205 unit-race :
181206 name : unit-race
182207 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments