Skip to content

Verification

Verification #300

Workflow file for this run

name: Verification
on:
schedule:
- cron: '15 3 * * *'
workflow_dispatch:
jobs:
verification:
name: Verification
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
cache: 'maven'
- name: Cache node_modules
uses: actions/cache@v4
with:
path: start-client/node_modules
key: node-modules-${{ hashFiles('start-client/yarn.lock') }}
- name: Cache Maven/Gradle repositories for tests
uses: actions/cache@v4
with:
path: /tmp/start-spring-io-cache-2024-12-11
# See https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
key: test-repositories-${{ runner.os }}-${{ github.run_id }}
restore-keys: test-repositories-${{ runner.os }}
- name: Build with Maven
env:
START_SPRING_IO_TMPDIR: /tmp/start-spring-io-cache-2024-12-11
run: ./mvnw --batch-mode --update-snapshots --activate-profiles verification verify
- name: Send notification
uses: ./.github/actions/send-notification
if: always()
with:
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
status: ${{ job.status }}
run-name: ${{ format('start.spring.io (Verification) | {0}', github.ref_name) }}