Skip to content

Commit 3c96eab

Browse files
committed
bump: updated clippy action and combined rust tests
1 parent fb55e94 commit 3c96eab

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/rust-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,18 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v1
1717
- run: rustup component add clippy
18-
- uses: actions-rs/clippy-check@v1
18+
- uses: clechasseur/rs-clippy-check@v3
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}
2121
args: --features runtime-env --manifest-path server/Cargo.toml
22+
redoc:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Installing Vaccum
27+
run: npm install -g @quobix/vacuum
28+
- name: Generating OpenAPI spec
29+
run: cargo run --features runtime-env --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json
30+
- name: Vaccum lint
31+
run: vacuum lint openapi.json
2232

.github/workflows/test-redoc.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,3 @@ on:
88
paths:
99
- 'server/**'
1010
jobs:
11-
redoc:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v2
15-
- name: Installing Vaccum
16-
run: npm install -g @quobix/vacuum
17-
- name: Generating OpenAPI spec
18-
run: cargo run --features runtime-env --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json
19-
- name: Vaccum lint
20-
run: vacuum lint openapi.json

0 commit comments

Comments
 (0)