-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 777 Bytes
/
ci.yml
File metadata and controls
32 lines (31 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
pull_request:
jobs:
ciJvms:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
java: [ '11', '17', '21' ]
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
fetch-depth: 100
- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: actions/setup-java@v5.0.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'sbt'
- name: sbt ci ${{ github.ref }}
run: ./sbt ci
ci:
if: always()
runs-on: ubuntu-24.04
needs: [ ciJvms ]
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}