Skip to content

Commit

Permalink
add static analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
juli1 committed Jun 12, 2024
1 parent 09bdc86 commit a98b111
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/datadog-static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push]

name: Datadog Static Analysis

jobs:
static-analysis:
runs-on: ubuntu-latest
name: Datadog Static Analyzer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check code meets quality and security standards
id: datadog-static-analysis
uses: DataDog/datadog-static-analyzer-github-action@v1
with:
dd_api_key: ${{ secrets.SYSTEM_TESTS_E2E_DD_API_KEY }}
dd_app_key: ${{ secrets.SYSTEM_TESTS_E2E_DD_APP_KEY }}
dd_service: dd-trace-go
dd_env: ci
dd_site: datadoghq.com
cpu_count: 2
5 changes: 5 additions & 0 deletions static-analysis.datadog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rulesets:
- sit-ci-best-practices:
only:
- ".github/workflows"

0 comments on commit a98b111

Please sign in to comment.