-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (29 loc) · 751 Bytes
/
ci.yml
File metadata and controls
30 lines (29 loc) · 751 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
name: CI
on:
pull_request:
jobs:
ciJvms:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
java: [ '1.8', '11', '17' ]
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
fetch-depth: 100
- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: olafurpg/setup-scala@v14
with:
java-version: ${{ matrix.java }}
- name: Coursier cache
uses: coursier/cache-action@v6
- name: sbt ci ${{ github.ref }}
run: ./sbt ci
ci:
runs-on: ubuntu-24.04
needs: [ ciJvms ]
steps:
- name: Aggregate of lint, and all tests
run: echo "ci passed"