File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1515 value : ${{ jobs.detect.outputs.templates }}
1616 docker :
1717 value : ${{ jobs.detect.outputs.docker }}
18+ swagger :
19+ value : ${{ jobs.detect.outputs.swagger }}
1820
1921jobs :
2022 detect :
2729 actions : ${{ steps.changes.outputs.actions }}
2830 templates : ${{ steps.changes.outputs.templates }}
2931 docker : ${{ steps.changes.outputs.docker }}
32+ swagger : ${{ steps.changes.outputs.swagger }}
3033 steps :
3134 - uses : actions/checkout@v3
3235 - uses : dorny/paths-filter@v2
6366 - "Dockerfile.rootless"
6467 - "docker/**"
6568 - "Makefile"
69+
70+ swagger:
71+ - "templates/swagger/v1_json.tmpl"
Original file line number Diff line number Diff line change 3939 - run : make deps-py
4040 - run : make lint-templates
4141
42+ lint-swagger :
43+ if : needs.files-changed.outputs.swagger == 'true'
44+ needs : files-changed
45+ runs-on : ubuntu-latest
46+ steps :
47+ - uses : actions/checkout@v3
48+ - uses : actions/setup-node@v3
49+ with :
50+ node-version : 20
51+ - run : make deps-frontend
52+ - run : make lint-swagger
53+
4254 lint-go-windows :
4355 if : needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true'
4456 needs : files-changed
Original file line number Diff line number Diff line change @@ -360,10 +360,10 @@ lint: lint-frontend lint-backend
360360lint-fix : lint-frontend-fix lint-backend-fix
361361
362362.PHONY : lint-frontend
363- lint-frontend : lint-js lint-css lint-md lint-swagger
363+ lint-frontend : lint-js lint-css
364364
365365.PHONY : lint-frontend-fix
366- lint-frontend-fix : lint-js-fix lint-css-fix lint-md lint-swagger
366+ lint-frontend-fix : lint-js-fix lint-css-fix
367367
368368.PHONY : lint-backend
369369lint-backend : lint-go lint-go-vet lint-editorconfig
You can’t perform that action at this time.
0 commit comments