updated gradle and added secrets detection
This commit is contained in:
1 parent
57fdc3760d
commit
767d91f446
2 files changed
+8
-5
No files matched your search
@@ -15,14 +15,17 @@ jobs:
|
||||
build:
|
||||
name: Build java distribution
|
||||
runs-on: docker-ubuntu-nonroot
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /tmp/hostedtoolcache
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GIT_ACCESS_TOKEN }}
|
||||
submodules: 'true'
|
||||
fetch-depth: 0
|
||||
- name: Detect secrets
|
||||
uses: docker://ghcr.io/gitleaks/gitleaks:v8.28.0
|
||||
with:
|
||||
args: git --redact --verbose /github/workspace
|
||||
- name: Setup java runtime
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
@@ -46,4 +49,4 @@ jobs:
|
||||
path: |
|
||||
build/test-results
|
||||
build/reports
|
||||
retention-days: 10
|
||||
retention-days: 10
|
||||
Reference in new issue
Block a user