Skip to content

Fix some atomicity issues in removeCodeGrant #3169

Fix some atomicity issues in removeCodeGrant

Fix some atomicity issues in removeCodeGrant #3169

name: "Build and Test"
on:
pull_request:
branches: ['main', '4.1.x-fixes', '3.6.x-fixes']
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java: [17, 21, 25]
permissions:
contents: read
pull-requests: read
timeout-minutes: 130
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v3.6.0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
java-version: '${{ matrix.java }}'
distribution: 'temurin'
cache: maven
- name: Build with Apache Maven (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: mvn -U clean install -fae -B -Peverything
- name: Build with Apache Maven
if: ${{ matrix.os != 'windows-latest' }}
run: mvn -U clean install -Djava.awt.headless=true -fae -B -Peverything
env:
MAVEN_OPTS: "-Xmx1024M"