-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (36 loc) · 1.08 KB
/
guru-reviewer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Analyze with CodeGuru Reviewer
on: [push, pull_request]
permissions:
id-token: write
contents: read
security-events: write
jobs:
CodeGuru:
name: Clone your repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: 'true'
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gradle package
run: ./gradlew build -x test
- name: Configure AWS credentials from Test account
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::048169001733:role/GuruGitHubCICDRole
aws-region: us-west-2
- name: CodeGuru Reviewer
uses: aws-actions/[email protected]
continue-on-error: false
with:
s3_bucket: codeguru-reviewer-github-profiler-demo-048169001733-uw2
build_path: ./build/libs
- name: Upload review result
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: codeguru-results.sarif.json