Skip to content

Use shared workflows 3.0.x #633

Use shared workflows 3.0.x

Use shared workflows 3.0.x #633

Workflow file for this run

---
name: Build
# yamllint disable-line rule:truthy
on:
push:
branches:
- 2.1.x
- 3.0.x
pull_request:
jobs:
yamllint:
uses: dropwizard/workflows/.github/workflows/yamllint.yml@main
build:
strategy:
fail-fast: false
matrix:
java-version: ['11', '17', '21']
uses: dropwizard/workflows/.github/workflows/maven.yml@main

Check failure on line 18 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. In .github/workflows/build.yml (Line: 18, Col: 11): Error from called workflow dropwizard/workflows/.github/workflows/maven.yml@main (Line: 7, Col: 5): Unexpected value 'runner' In .github/workflows/build.yml (Line: 18, Col: 11): Error from called workflow dropwizard/workflows/.github/workflows/maven.yml@main (Line: 12, Col: 5): Unexpected value 'java-version'
secrets: inherit
with:
java-version: ${{ matrix.java-version }}