Skip to content

Merge remote-tracking branch 'origin/main' into 6.x #129

Merge remote-tracking branch 'origin/main' into 6.x

Merge remote-tracking branch 'origin/main' into 6.x #129

Workflow file for this run

name: GitLab4J CI
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
build-jdk11:
name: "Build JDK 11"
runs-on: ubuntu-latest
services:
gitlab-instance:
image: gitlab/gitlab-ce:12.9.2-ce.0
env:
GITLAB_OMNIBUS_CONFIG: gitlab_rails['initial_root_password']="password";gitlab_rails['lfs_enabled']=false;
ports:
- 8090:80
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: adopt-hotspot
java-version: 11
- name: Get Date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache Maven Repository
id: cache-maven
uses: actions/cache@v2
with:
path: ~/.m2/repository
# refresh cache every month to avoid unlimited growth
key: gitlab4jmaven-${{ steps.get-date.outputs.date }}
- name: GitLab4j verify
id: gitlab4j-verify
run: |
./mvnw verify -B -V