Skip to content

Use reusable build-docker-image-maven-jvm #6

Use reusable build-docker-image-maven-jvm

Use reusable build-docker-image-maven-jvm #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- src/**
- pom.xml
- .github/workflows/*
pull_request:
branches:
- main
paths:
- src/**
- pom.xml
- .github/workflows/*
jobs:
test:
uses: making/workflows/.github/workflows/maven-unit-test.yaml@main
build-jvm-image:
needs: test
uses: making/workflows/.github/workflows/build-docker-image-maven-jvm.yaml@main

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yml (Line: 22, Col: 11): Error from called workflow making/workflows/.github/workflows/build-docker-image-maven-jvm.yaml@main (Line: 22, Col: 3): The workflow must contain at least one job with no dependencies.
with:
image_file: image.yaml
save-image-jvm:
if: github.ref == 'refs/heads/main'
needs: build-jvm-image
uses: making/workflows/.github/workflows/save-images.yaml@main
with:
target: image.yaml