feature/setup-workflow-pipeline: add lombok, add gitea workflow #2

Merged
chimeudeonwop merged 102 commits from feature/setup-workflow-pipeline into main 2025-10-31 16:46:56 +00:00
13 changed files with 417 additions and 276 deletions
Showing only changes of commit 75be3de9ee - Show all commits

View File

@ -98,25 +98,16 @@ jobs:
git clone --quiet "$CLONE_URL_WITH_AUTH" .
echo "${{ gitea.repository }} cloned successfully."
- name: Install OS dependencies
run: |
apt-get update -qq
apt-get install -y git curl unzip tar bash ca-certificates wget build-essential libssl-dev
- uses: actions/checkout@v5
- name: Set up JDK 11 for x64
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
architecture: x64
- name: Install Java 21 manually
run: |
apt-get update && apt-get install -y openjdk-21-jdk
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
java -version
- name: Install Maven manually
run: |
mkdir -p $HOME/maven
curl -sL https://archive.apache.org/dist/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.tar.gz | tar -xz -C $HOME/maven --strip-components=1
export PATH=$HOME/maven/bin:$PATH
mvn -version
- name: Run the Maven verify phase
run: mvn --batch-mode --update-snapshots verify
# Setup Java 21 and Maven with caching
- name: Set up Java & Maven