Skip to content

Update dependency com.palantir.javaformat:palantir-java-format from 2.48.0 to 2.49.0 #13

Update dependency com.palantir.javaformat:palantir-java-format from 2.48.0 to 2.49.0

Update dependency com.palantir.javaformat:palantir-java-format from 2.48.0 to 2.49.0 #13

Workflow file for this run

---
name: Build CI
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
concurrency:
# Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.
# On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.
group: ${{ github.ref == 'refs/heads/main' && format('build-ci-main-{0}', github.sha) || format('build-ci-{0}', github.ref) }}
cancel-in-progress: true
env:
GRADLE_OPTS: -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false
jobs:
build-and-test:
name: Build CLI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set variables
id: setvars
run: |
version=$(sed -n 's,palantir-version = "\(.*\)",\1,p' gradle/libs.dependencies.toml)
echo "palantir_version=$version" >> $GITHUB_OUTPUT
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21
cache: gradle
- name: Build palantir cli ${{ github.event.inputs.palantir_version }}
run: |
./gradlew build -S --warning-mode all --no-daemon
env:
PALANTIR_VERSION: ${{ steps.setvars.outputs.palantir_version }}
- name: Test palantir cli ${{ github.event.inputs.palantir_version }}
run: |
java -jar build/libs/palantir-cli-*-standalone.jar
env:
PALANTIR_VERSION: ${{ steps.setvars.outputs.palantir_version }}