File tree Expand file tree Collapse file tree 8 files changed +280
-10
lines changed
examples/powertools-examples-core Expand file tree Collapse file tree 8 files changed +280
-10
lines changed Original file line number Diff line number Diff line change 1515 branches : [main]
1616
1717permissions :
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
2318 contents : read
2419
2520jobs :
2621 scan-pr :
27- uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.9.1"
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 7272 cache : ' maven'
7373 - name : Build with Maven
7474 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
7582 - name : Build Gradle Example - Java
7683 if : ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8
7784 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 11distributionBase =GRADLE_USER_HOME
22distributionPath =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
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =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
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments