Skip to content

Commit

Permalink
Merge pull request #995 from d3sw/static-analysis
Browse files Browse the repository at this point in the history
Static analysis
  • Loading branch information
edward-smith authored Feb 5, 2024
2 parents cb89eab + a697208 commit cc7a781
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/datadog-static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: [push]

jobs:
check-quality:
runs-on: ubuntu-latest
name: Datadog Static Analyzer
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check code meets quality standards
id: datadog-static-analysis
uses: DataDog/datadog-static-analyzer-github-action@v1
with:
dd_api_key: ${{ secrets.DD_CI_API_KEY }}
dd_app_key: ${{ secrets.DD_CI_APP_KEY }}
dd_service: conductor
dd_env: ci
dd_site: datadoghq.com
cpu_count: 2
6 changes: 6 additions & 0 deletions static-analysis.datadog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rulesets:
- java-best-practices # ensure best practices are followed
- java-code-style # code-style enforcement for Java
- java-inclusive # ensure that we use inclusive wording in our codebase
- java-security # ensure your Java code is safe and secure
- docker-best-practices # ensure best practices are followed

0 comments on commit cc7a781

Please sign in to comment.