forked from spotify/scio
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 873 Bytes
/
scalafix.yaml
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
35
36
37
38
39
40
41
42
43
name: Scalafix Migration Rules
on:
pull_request:
branches: [main]
paths:
- 'scalafix/**'
push:
branches: [main]
paths:
- 'scalafix/**'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
scalafix:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java (corretto@11)
id: setup-java-corretto-11
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 11
cache: sbt
- name: sbt update
if: steps.setup-java-corretto-11.outputs.cache-hit == 'false'
run: sbt update
working-directory: scalafix
- name: Test
run: sbt test
working-directory: scalafix