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
|
||||
@@ -24,7 +24,7 @@ buildscript {
|
||||
apply plugin: me.qoomon.gradle.gitversioning.GitVersioningPlugin
|
||||
|
||||
wrapper {
|
||||
gradleVersion = "8.10.2"
|
||||
gradleVersion = "9.1.0"
|
||||
}
|
||||
|
||||
// Setup versions handling
|
||||
@@ -75,4 +75,4 @@ echo "CAPTICA_APPLICATION_JAVA_VERSION=\$CAPTICA_APPLICATION_JAVA_VERSION" >> \$
|
||||
// Link up version file task to bootJar
|
||||
tasks.named('bootJar').configure {
|
||||
dependsOn writeVersionFile
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user