Skip to content

Commit

Permalink
feat: add GitHub Workflow for Radar Static Analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Nov 4, 2024
1 parent 37779f8 commit 3d4e8ed
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/radar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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

0 comments on commit 3d4e8ed

Please sign in to comment.