Skip to content

⬆️ Bump org.http4k:http4k-connect-bom in /backend (#14) #41

⬆️ Bump org.http4k:http4k-connect-bom in /backend (#14)

⬆️ Bump org.http4k:http4k-connect-bom in /backend (#14) #41

Workflow file for this run

# This workflow will build the backend project with Gradle
# For more information see:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Build backend
on:
push:
branches: [ main ]
paths:
- '.github/workflows/**'
- 'backend/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/**'
- 'backend/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
# TODO requires https://github.com/gradle/wrapper-validation-action/issues/59 to be resolved
# - name: Validate Gradle Wrapper
# uses: gradle/wrapper-validation-action@v1 # https://github.com/marketplace/actions/gradle-wrapper-validation
- name: Build with Gradle
uses: gradle/gradle-build-action@v2 # https://github.com/marketplace/actions/gradle-build-action
with:
build-root-directory: backend
arguments: build
- name: Create build artifacts
uses: actions/upload-artifact@v4 # https://github.com/marketplace/actions/upload-a-build-artifact
if: always()
with:
name: reports
path: backend/build/reports