Skip to content

fix: use strict image heap for paketo builder #178

fix: use strict image heap for paketo builder

fix: use strict image heap for paketo builder #178

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- main
- next
paths:
- 'src/**'
- 'pom.xml'
concurrency:
group: ci-main
permissions:
contents: read
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Run Tests
run: mvn -B -ntp verify
verify-native:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-13
name: Verify ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: graalvm/[email protected]
with:
java-version: '21'
distribution: 'graalvm-community'
- name: Run tests
run: mvn -B -ntp -PnativeTest verify
release:
name: Build and Release
runs-on: ubuntu-latest
permissions:
# required by semantic release
contents: write
# required to publish the docker image
packages: write
needs:
- verify
- verify-native
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Create new release
uses: cycjimmy/semantic-release-action@v3
with:
extra_plugins: |
@semantic-release/git
@semantic-release/exec
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}