-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 825 Bytes
/
ci.yml
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
33
34
name: ci
on:
pull_request:
branches-ignore:
- main
- gh-pages
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Build and Test
run: sbt -v "+scalafmtCheckAll;+test;"
- name: Binary Compatibility Check
run: sbt +mimaReportBinaryIssues
- name: Run Cats Effect Example
env:
UNSTRUCTURED_API_KEY: ${{ secrets.UNSTRUCTURED_API_KEY }}
run: |
sbt "examples/runMain org.twelvehart.unstructured4s.examples.CatsEffectApp"