Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
# needed by license-maven-plugin, which inspects git history
fetch-depth: 0
persist-credentials: false

- name: Set up Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '8'
cache: maven

- name: Build and test
run: ./mvnw clean install
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

- name: Submit dependency graph
uses: advanced-security/maven-dependency-submission-action@v5
Comment thread
lucacome marked this conversation as resolved.
Resolved
if: github.event_name == 'push'

classpath:
name: Classpath (${{ matrix.profile }})
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
profile: [nodeps, alldeps]
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
# needed by license-maven-plugin, which inspects git history
fetch-depth: 0
persist-credentials: false

- name: Set up Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '8'
cache: maven

- name: Install dependencies
run: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V

- name: Run classpath tests
run: PROFILES=${{ matrix.profile }} make classpath
Comment thread
lucacome marked this conversation as resolved.
Resolved
10 changes: 10 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,21 @@ jobs:
include:
- language: java-kotlin
build-mode: none # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
- language: actions
build-mode: none

steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Set up Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '8'
cache: maven
if: matrix.language == 'java-kotlin'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down
Loading