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:
|
build:
|
||||||
name: Build java distribution
|
name: Build java distribution
|
||||||
runs-on: docker-ubuntu-nonroot
|
runs-on: docker-ubuntu-nonroot
|
||||||
env:
|
|
||||||
RUNNER_TOOL_CACHE: /tmp/hostedtoolcache
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_ACCESS_TOKEN }}
|
token: ${{ secrets.GIT_ACCESS_TOKEN }}
|
||||||
submodules: 'true'
|
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
|
- name: Setup java runtime
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
@@ -46,4 +49,4 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
build/test-results
|
build/test-results
|
||||||
build/reports
|
build/reports
|
||||||
retention-days: 10
|
retention-days: 10
|
||||||
@@ -24,7 +24,7 @@ buildscript {
|
|||||||
apply plugin: me.qoomon.gradle.gitversioning.GitVersioningPlugin
|
apply plugin: me.qoomon.gradle.gitversioning.GitVersioningPlugin
|
||||||
|
|
||||||
wrapper {
|
wrapper {
|
||||||
gradleVersion = "8.10.2"
|
gradleVersion = "9.1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup versions handling
|
// Setup versions handling
|
||||||
@@ -75,4 +75,4 @@ echo "CAPTICA_APPLICATION_JAVA_VERSION=\$CAPTICA_APPLICATION_JAVA_VERSION" >> \$
|
|||||||
// Link up version file task to bootJar
|
// Link up version file task to bootJar
|
||||||
tasks.named('bootJar').configure {
|
tasks.named('bootJar').configure {
|
||||||
dependsOn writeVersionFile
|
dependsOn writeVersionFile
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user