Skip to content

Commit

Permalink
Merge branch 'deepscan-integration' of https://github.com/CMU-313/nod…
Browse files Browse the repository at this point in the history
…ebb-f24-d-buggers into deepscan-integration
  • Loading branch information
e_oghabayen committed Oct 31, 2024
2 parents 51773c5 + a4ec118 commit 6a87111
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/deepscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ name: DeepScan Static Analysis
on:
push:
branches: [ "**" ]
branches: [ "**" ]
pull_request:
branches: [ "**" ]
branches: [ "**" ]

jobs:
deepscan:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
Expand All @@ -22,7 +24,11 @@ jobs:
- name: Install Dependencies
run: npm install

- name: Install DeepScan CLI
run: npm install -g deepscan

- name: Run DeepScan
uses: DeepScan/gh-action@v1
with:
api_key: ${{ secrets.DEEPSCAN_API_KEY }}
env:
DEEPSCAN_TOKEN: ${{ secrets.DEEPSCAN_API_KEY }}
run: |
deepscan --project nodebb-f24-d-buggers --analyze .

0 comments on commit 6a87111

Please sign in to comment.