mirror of
https://github.com/lightbend/config.git
synced 2025-01-29 05:30:08 +08:00
Merge pull request #755 from ennru/ennru-actions-and-jdk17
CI: use GitHub actions; replace JDK11 with JDK17
This commit is contained in:
commit
141b79f99b
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: CI
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
java: 8
|
||||
- os: windows-latest
|
||||
java: 17
|
||||
runs-on: ${{ matrix.os }}
|
||||
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
|
Loading…
Reference in New Issue
Block a user