forked from scalacenter/scalac-profiling
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 865 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
name: CI
on:
push:
tags: ["*"]
branches: ['**', '!update/**', '!pr/**']
pull_request:
branches: ['**', '!update/**', '!pr/**']
jobs:
scalafmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- name: Check formatting
run: sbt -v "scalafmtSbtCheck" "scalafmtCheckAll"
test:
name: ${{ matrix.command }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command:
- sbt "+plugin/test" "profilingSbtPlugin/scripted compiler-profiling/scripted"
- sbt "showScalaInstances" "integrations/testOnly integration better-files wartremover"
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: coursier/cache-action@v6
- run: ${{ matrix.command }}