Skip to content

Commit

Permalink
bump: updated clippy action and combined rust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Mar 5, 2024
1 parent fb55e94 commit 3c96eab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/rust-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,18 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
- uses: clechasseur/rs-clippy-check@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --features runtime-env --manifest-path server/Cargo.toml
redoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Installing Vaccum
run: npm install -g @quobix/vacuum
- name: Generating OpenAPI spec
run: cargo run --features runtime-env --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json
- name: Vaccum lint
run: vacuum lint openapi.json

10 changes: 0 additions & 10 deletions .github/workflows/test-redoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,3 @@ on:
paths:
- 'server/**'
jobs:
redoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Installing Vaccum
run: npm install -g @quobix/vacuum
- name: Generating OpenAPI spec
run: cargo run --features runtime-env --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json
- name: Vaccum lint
run: vacuum lint openapi.json

0 comments on commit 3c96eab

Please sign in to comment.