File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 40
40
working-directory : ./tools
41
41
if : env.FILES_CHANGED == 'true'
42
42
run : make generate_mocks
43
+ - name : Fix import order issues
44
+ run : goimports -l -w .
43
45
- uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
44
46
if : env.FILES_CHANGED == 'true'
45
47
with :
Original file line number Diff line number Diff line change 39
39
run : |
40
40
npm install
41
41
npm run ci
42
- - run : go install golang.org/x/tools/cmd/ goimports@v0.21.0
42
+ - run : make install- goimports
43
43
- working-directory : ./tools
44
44
run : |
45
45
export PATH=${PATH}:`go env GOPATH`/bin
Original file line number Diff line number Diff line change @@ -20,6 +20,3 @@ npm exec -c "replace-in-file '/$OLD_PACKAGE/g' '$NEW_PACKAGE' $VERSION_UPDATE_PA
20
20
21
21
echo " Add preview version to examples go.mod"
22
22
(cd " $examples_path " && go get $NEW_PACKAGE )
23
-
24
- echo " Fix import order issues"
25
- goimports -l -w .
You can’t perform that action at this time.
0 commit comments