Skip to content

Commit 9b31a81

Browse files
committed
Added maven compatibility check
1 parent 6334e27 commit 9b31a81

File tree

2 files changed

+34
-76
lines changed

2 files changed

+34
-76
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: CI maven compatibility check
10+
11+
on:
12+
# Trigger analysis when pushing in master or pull requests, and when creating
13+
# a pull request.
14+
push:
15+
branches:
16+
- develop
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
strategy:
22+
matrix:
23+
distribution: [ 'corretto', 'temurin' ]
24+
java: [ '8', '11', '17' ]
25+
name: Java ${{ matrix.Java }} (${{ matrix.distribution }}) sample
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: Setup java
29+
uses: actions/setup-java@v3
30+
with:
31+
distribution: ${{ matrix.distribution }}
32+
java-version: ${{ matrix.java }}
33+
- name: Maven build
34+
run: mvn clean install -Pcoverage,full,metadata

.github/workflows/codeql.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)