File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright 2025 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ # Github action job to test core java library features on
15+ # downstream client libraries before they are released.
16+ on :
17+ push :
18+ branches :
19+ - main
20+ pull_request :
21+ paths :
22+ - java-sdk-logging/**
23+
24+ name : java-sdk-logging-ci
25+ jobs :
26+ unit-test :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : actions/checkout@v4
30+ - uses : actions/setup-java@v4
31+ with :
32+ java-version : 8
33+ distribution : temurin
34+ - name : Unit Tests
35+ working-directory : java-sdk-logging
36+ run : |
37+ mvn test -B -ntp -Dcheckstyle.skip -Dfmt.skip
38+ lint :
39+ runs-on : ubuntu-latest
40+ steps :
41+ - uses : actions/checkout@v4
42+ - uses : actions/setup-java@v4
43+ with :
44+ java-version : 11
45+ distribution : temurin
46+ cache : maven
47+ - name : Java Linter
48+ run : mvn -B -ntp fmt:check
49+ working-directory : java-sdk-logging
You can’t perform that action at this time.
0 commit comments