File tree 3 files changed +20
-2
lines changed
3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 15
15
value : ${{ jobs.detect.outputs.templates }}
16
16
docker :
17
17
value : ${{ jobs.detect.outputs.docker }}
18
+ swagger :
19
+ value : ${{ jobs.detect.outputs.swagger }}
18
20
19
21
jobs :
20
22
detect :
27
29
actions : ${{ steps.changes.outputs.actions }}
28
30
templates : ${{ steps.changes.outputs.templates }}
29
31
docker : ${{ steps.changes.outputs.docker }}
32
+ swagger : ${{ steps.changes.outputs.swagger }}
30
33
steps :
31
34
- uses : actions/checkout@v3
32
35
- uses : dorny/paths-filter@v2
63
66
- "Dockerfile.rootless"
64
67
- "docker/**"
65
68
- "Makefile"
69
+
70
+ swagger:
71
+ - "templates/swagger/v1_json.tmpl"
Original file line number Diff line number Diff line change 39
39
- run : make deps-py
40
40
- run : make lint-templates
41
41
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
+
42
54
lint-go-windows :
43
55
if : needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true'
44
56
needs : files-changed
Original file line number Diff line number Diff line change @@ -360,10 +360,10 @@ lint: lint-frontend lint-backend
360
360
lint-fix : lint-frontend-fix lint-backend-fix
361
361
362
362
.PHONY : lint-frontend
363
- lint-frontend : lint-js lint-css lint-md lint-swagger
363
+ lint-frontend : lint-js lint-css
364
364
365
365
.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
367
367
368
368
.PHONY : lint-backend
369
369
lint-backend : lint-go lint-go-vet lint-editorconfig
You can’t perform that action at this time.
0 commit comments