Skip to content

feat: add GitHub Workflow for Radar Static Analysis #1

feat: add GitHub Workflow for Radar Static Analysis

feat: add GitHub Workflow for Radar Static Analysis #1

Workflow file for this run

name: Radar Static Analysis
on:
push:
branches:
- main
pull_request:
permissions:
actions: read
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run radar
id: radar
uses: auditware/radar-action@main
with:
path: "anchor"
ignore: "low"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: output.sarif