mirror of
https://github.com/lightbend/config.git
synced 2025-02-11 12:00:08 +08:00
26 lines
530 B
YAML
26 lines
530 B
YAML
name: CI
|
|
on:
|
|
pull_request:
|
|
push:
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'lightbend/config'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- java: 8
|
|
- java: 11
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Setup JDK
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: temurin
|
|
java-version: ${{ matrix.java }}
|
|
- name: Build and test
|
|
shell: bash
|
|
run: sbt -v test doc
|