File tree Expand file tree Collapse file tree 4 files changed +27
-10
lines changed
Expand file tree Collapse file tree 4 files changed +27
-10
lines changed Original file line number Diff line number Diff line change 3434 - name : Checkout
3535 uses : actions/checkout@v3
3636
37+ - name : Install repo
38+ run : make install
39+
3740 - name : Vacuum OpenAPI Spec linter
38- uses : daveshanley/vacuum@0.16.1
39- with :
40- cmd : vacuum lint -d --base specification/ specification/proxygen.yaml
41+ with : make lint
42+ # - name: Vacuum OpenAPI Spec linter
43+ # uses: eduelias/gha-vacuum@v0.0.1
44+ # with:
45+ # cmd: vacuum lint -d --base specification/ specification/proxygen.yaml
4146
Original file line number Diff line number Diff line change @@ -12,10 +12,16 @@ jobs:
1212 - name : Set OAS info.version to ${{ github.ref_name}}-${{github.sha}}
1313 run : sed -i 's/__VERSION__/${{ github.ref_name}}-${{github.sha}}/g' specification/proxygen.yaml
1414
15+
16+ - name : Install repo
17+ run : make install
18+
1519 - name : Vacuum OpenAPI Spec linter
16- uses : daveshanley/vacuum@0.16.1
17- with :
18- cmd : vacuum lint -d --base specification/ specification/proxygen.yaml
20+ with : make lint
21+ # - name: Vacuum OpenAPI Spec linter
22+ # uses: eduelias/gha-vacuum@v0.0.1
23+ # with:
24+ # cmd: vacuum lint -d --base specification/ specification/proxygen.yaml
1925
2026 - name : Setup proxygen-cli
2127 env :
Original file line number Diff line number Diff line change @@ -25,10 +25,16 @@ jobs:
2525 - name : Set OAS info.version to ${{ env.SPEC_VERSION }}
2626 run : sed -i 's/__VERSION__/${{ env.SPEC_VERSION }}/g' specification/proxygen.yaml
2727
28+
29+ - name : Install repo
30+ run : make install
31+
2832 - name : Vacuum OpenAPI Spec linter
29- uses : daveshanley/vacuum@0.16.1
30- with :
31- cmd : vacuum lint -d --base specification/ specification/proxygen.yaml
33+ with : make lint
34+ # - name: Vacuum OpenAPI Spec linter
35+ # uses: eduelias/gha-vacuum@v0.0.1
36+ # with:
37+ # cmd: vacuum lint -d --base specification/ specification/proxygen.yaml
3238
3339 - name : Create Release ${{ env.SPEC_VERSION }}
3440 uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change 11install :
2- curl -fsSL https:// quobix.com/scripts/install_vacuum.sh | sh > /dev/null
2+ npm install -g @ quobix/vacuum@0.16.1
33
44lint :
55 vacuum lint -d --base specification/ specification/proxygen.yaml
You can’t perform that action at this time.
0 commit comments