File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 24
24
run : |
25
25
echo 'extends: ["spectral:asyncapi"]' > .spectral.yaml
26
26
- name : Lint asyncapi.json with spectral
27
- uses : stoplightio/spectral- action@v0.8.8
27
+ uses : addnab/docker-run- action@v3
28
28
with :
29
- file_glob : ' springwolf-examples/springwolf-amqp-example/src/test/resources/asyncapi.json'
29
+ image : stoplight/spectral:latest
30
+ options : -v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }}
31
+ run : spectral lint --ruleset ./.spectral.yaml --fail-on-unmatched-globs ./springwolf-examples/springwolf-amqp-example/src/test/resources/asyncapi.json
30
32
31
33
- name : Set up JDK 1.8
32
34
uses : actions/setup-java@v1
Original file line number Diff line number Diff line change 24
24
run : |
25
25
echo 'extends: ["spectral:asyncapi"]' > .spectral.yaml
26
26
- name : Lint asyncapi.json with spectral
27
- uses : stoplightio/spectral- action@v0.8.8
27
+ uses : addnab/docker-run- action@v3
28
28
with :
29
- file_glob : ' springwolf-examples/springwolf-cloud-stream-example/src/test/resources/asyncapi.json'
29
+ image : stoplight/spectral:latest
30
+ options : -v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }}
31
+ run : spectral lint --ruleset ./.spectral.yaml --fail-on-unmatched-globs ./springwolf-examples/springwolf-cloud-stream-example/src/test/resources/asyncapi.json
30
32
31
33
- name : Set up JDK 1.8
32
34
uses : actions/setup-java@v1
Original file line number Diff line number Diff line change 24
24
run : |
25
25
echo 'extends: ["spectral:asyncapi"]' > .spectral.yaml
26
26
- name : Lint asyncapi.json with spectral
27
- uses : stoplightio/spectral- action@v0.8.8
27
+ uses : addnab/docker-run- action@v3
28
28
with :
29
- file_glob : ' springwolf-examples/springwolf-kafka-example/src/test/resources/asyncapi.json'
29
+ image : stoplight/spectral:latest
30
+ options : -v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }}
31
+ run : spectral lint --ruleset ./.spectral.yaml --fail-on-unmatched-globs ./springwolf-examples/springwolf-kafka-example/src/test/resources/asyncapi.json
30
32
31
33
- name : Set up JDK 1.8
32
34
uses : actions/setup-java@v1
You can’t perform that action at this time.
0 commit comments