Skip to content

Commit 97db5e6

Browse files
committed
CI: run license compliance in the same job
1 parent f01945a commit 97db5e6

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20+
2021
- name: Set up JDK ${{ matrix.java_version }}
2122
uses: actions/setup-java@v4
2223
with:
2324
java-version: ${{ matrix.java_version }}
2425
distribution: 'temurin'
2526
cache: 'maven'
27+
2628
- name: Build with JDK ${{ matrix.java_version }}
2729
run: mvn -U -B --fail-at-end -DskipOllamaITs clean install
2830
env:
@@ -37,15 +39,5 @@ jobs:
3739
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
3840
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
3941

40-
compliance:
41-
runs-on: ubuntu-latest
42-
steps:
43-
- uses: actions/checkout@v4
44-
- name: Set up JDK 17
45-
uses: actions/setup-java@v4
46-
with:
47-
java-version: '17'
48-
distribution: 'temurin'
49-
cache: 'maven'
5042
- name: License Compliance
5143
run: mvn -U -B -P compliance org.honton.chas:license-maven-plugin:compliance

0 commit comments

Comments
 (0)