File tree 8 files changed +280
-10
lines changed
examples/powertools-examples-core
8 files changed +280
-10
lines changed Original file line number Diff line number Diff line change 15
15
branches : [main]
16
16
17
17
permissions :
18
- # Required to upload SARIF file to CodeQL. See: https://github.com/github/codeql-action/issues/2117
19
- actions : read
20
- # Require writing security events to upload SARIF file to security tab
21
- security-events : write
22
- # Only need to read contents
23
18
contents : read
24
19
25
20
jobs :
26
21
scan-pr :
27
- uses :
" google/osv-scanner-action/.github/workflows/[email protected] "
22
+ permissions :
23
+ actions : read
24
+ contents : read
25
+ security-events : write
26
+ uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@764c91816374ff2d8fc2095dab36eecd42d61638"
Original file line number Diff line number Diff line change 72
72
cache : ' maven'
73
73
- name : Build with Maven
74
74
run : mvn -B install --file pom.xml
75
+ - name : Build Gradle Setup
76
+ if : ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8
77
+ working-directory : examples/powertools-examples-core/gradle
78
+ run : |
79
+ curl -L -o gradle/wrapper/gradle.zip https:$(cat gradle/wrapper/gradle-wrapper.properties | grep distributionUrl | cut -d ':' -f 2)
80
+ unzip gradle/wrapper/gradle.zip -d gradle/wrapper/gradle
81
+ ./gradle/wrapper/gradle/gradle-8.2.1/bin/gradle wrapper
75
82
- name : Build Gradle Example - Java
76
83
if : ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8
77
84
working-directory : examples/powertools-examples-core/gradle
Original file line number Diff line number Diff line change 1
- FROM squidfunk/mkdocs-material
2
- RUN pip install mkdocs-git-revision-date-plugin mkdocs-macros-plugin
1
+ FROM squidfunk/mkdocs-material@sha256:6ffbcd0e1438f3278341e437048ba4507e7e0af70efe700dd6d8a1d76fc071dd
2
+
3
+ COPY requirements.txt /tmp/
4
+ RUN pip install --require-hashes -r /tmp/requirements.txt
Original file line number Diff line number Diff line change
1
+ mkdocs-git-revision-date-plugin==0.3.2
2
+ mkdocs-macros-plugin==1.3.7
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2.1 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2.1 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments