fix(ci): build Spring target in a JDK17+Maven container (runner image lacks java/mvn)
All checks were successful
ci / build (push) Successful in 1m16s

This commit is contained in:
forge-bot 2026-07-18 09:59:10 +00:00
parent ff0b0b60a2
commit ce73ce9eaa

View file

@ -3,7 +3,11 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: maven:3.9-eclipse-temurin-17
steps: steps:
- run: | - run: |
git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" repo && cd repo && git checkout "$GITHUB_SHA" apt-get update -qq && apt-get install -y -qq git >/dev/null 2>&1
git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" repo
cd repo && git checkout "$GITHUB_SHA"
cd boot && mvn -q -B -DskipTests=false test cd boot && mvn -q -B -DskipTests=false test