Skip to content

BIGTOP-4125: Use skywalking-eyes to check license header instead of apache-rat-plugin #20

BIGTOP-4125: Use skywalking-eyes to check license header instead of apache-rat-plugin

BIGTOP-4125: Use skywalking-eyes to check license header instead of apache-rat-plugin #20

Workflow file for this run

on: [push, pull_request]
jobs:
license:
name: "Check license"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Check license header
uses: apache/[email protected]
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: ['17', '21']
services:
db:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_DB: bigtop_manager
POSTGRES_PASSWORD: postgres
prom:
image: prom/prometheus
ports:
- 9090:9090
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- run: ./mvnw clean install -B -Djava.version=${{ matrix.java }}