Merge branch 'main' of github.com:AikidoSec/node-RASP into block-outb… #4035
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |