Skip to content

Commit 8ba0fe9

Browse files
rootroot
authored andcommitted
1 parent 923f908 commit 8ba0fe9

File tree

4 files changed

+27
-10
lines changed

4 files changed

+27
-10
lines changed

.github/workflows/pr-lint.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,13 @@ jobs:
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

.github/workflows/publish-uat.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
install:
2-
curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh > /dev/null
2+
npm install -g @quobix/vacuum@0.16.1
33

44
lint:
55
vacuum lint -d --base specification/ specification/proxygen.yaml

0 commit comments

Comments
 (0)