Skip to content

Commit 9217627

Browse files
authored
Create scala.yml
1 parent b619795 commit 9217627

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/scala.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Scala CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v2
18+
with:
19+
java-version: '11'
20+
distribution: 'adopt'
21+
- name: Run tests
22+
run: sbt clean compile test
23+
24+
merge:
25+
name: Merge dependency update
26+
if: github.actor == 'anand-singh'
27+
needs:
28+
- build
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: merge PR
32+
uses: desbo/merge-pr-action@v0
33+
with:
34+
GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
35+
ALLOWED_UPDATE: major
36+
MERGE_METHOD: squash
37+

0 commit comments

Comments
 (0)