File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11name : Build and Deploy Snapshot
22on :
33 push :
4+ branches : ['2.*']
45 paths-ignore :
56 - " README.md"
67 - " release-notes/*"
78 pull_request :
89 paths-ignore :
910 - " README.md"
1011 - " release-notes/*"
12+ permissions :
13+ contents : read
14+
1115jobs :
1216 build :
1317 runs-on : ' ubuntu-latest'
1822 env :
1923 JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2024 steps :
21- - uses : actions/checkout@v4
25+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2226 - name : Set up JDK
23- uses : actions/setup-java@v4
27+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2428 with :
2529 distribution : ' temurin'
2630 java-version : ${{ matrix.java_version }}
4852 run : ./mvnw -B -q -ff -ntp test
4953 - name : Publish code coverage
5054 if : github.event_name != 'pull_request' && matrix.java_version == '8'
51- uses : codecov/codecov-action@v5
55+ uses : codecov/codecov-actionad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
5256 with :
5357 token : ${{ secrets.CODECOV_TOKEN }}
54- file : ./target/site/jacoco/jacoco.xml
58+ files : ./target/site/jacoco/jacoco.xml
5559 flags : unittests
You can’t perform that action at this time.
0 commit comments