Skip to content

Sales CI

Sales CI #98

Workflow file for this run

name: Sales CI
run-name: Sales CI
on:
push:
paths:
- 'services/Sales/**'
- 'libs/SharedLib/**'
- '.github/workflows/ci-sales.yml'
- '.github/workflows/ci-shared-lib.yml'
workflow_dispatch:
repository_dispatch:
types: [ sales-ci-webhook ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Test
run: >-
cd services/Sales &&
./gradlew
test