Skip to content

Merge branch 'main' of github.com:AikidoSec/node-RASP into block-outb… #4035

Merge branch 'main' of github.com:AikidoSec/node-RASP into block-outb…

Merge branch 'main' of github.com:AikidoSec/node-RASP into block-outb… #4035

Workflow file for this run

name: 🧹 Lint code
on: push
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Set up Rust
run: |
rustup toolchain install stable
rustup default stable
rustup component add rustfmt clippy
cargo install wasm-pack
- name: Setup Aikido safe-chain
run: |
npm i -g @aikidosec/[email protected]
safe-chain setup-ci
- run: npm run install-lib-only
- run: npm run build
- run: npm run lint
- name: Check Rust formatting
run: cd instrumentation-wasm && cargo fmt --check
- name: Run Rust Linter
run: cd instrumentation-wasm && cargo clippy