Skip to content

Commit

Permalink
Merge branch 'current' into issue-4172
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Nov 16, 2024
2 parents 180f59e + a117e11 commit d82c488
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 114 deletions.
77 changes: 0 additions & 77 deletions .github/workflows/build-docs.yml

This file was deleted.

37 changes: 1 addition & 36 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
- '*'
tags-ignore:
- 'v*'
pull_request:
branches:
- '*'
paths-ignore:
- 'docs/**'
workflow_dispatch:
jobs:
build:
Expand All @@ -28,37 +23,8 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn --no-transfer-progress -B -T 1 install
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ runner.os != 'Windows' }}
with:
files: '**/target/surefire-reports/*.xml'
codeql:
name: codeql
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'java'
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build with Maven
run: mvn -B -DskipTests=true -DskipITs=true --ntp install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
run: mvn -B -ntp -T 1 install
ghcr:
if: github.repository == 'piranhacloud/piranha' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down Expand Up @@ -124,7 +90,6 @@ jobs:
cd dist/webprofile
mvn -B -DskipTests=true -DskipITs=true -ntp -P docker deploy
sonatype:
if: github.repository == 'piranhacloud/piranha' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down
42 changes: 41 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,48 @@ name: pr
on:
pull_request:
branches:
- '*'
- '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [ 21, 23 ]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B -ntp -T 1 install
codeql:
name: codeql
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'java'
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build with Maven
run: mvn -B -DskipTests=true -DskipITs=true --ntp install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
docs:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d82c488

Please sign in to comment.