Skip to content

Commit 5fb402e

Browse files
authored
scala.yml
1 parent 8ad582d commit 5fb402e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/scala.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: Scala CI
7+
8+
on:
9+
push:
10+
branches: [ "2.13.x" ]
11+
pull_request:
12+
branches: [ "2.13.x" ]
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
build:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up JDK 11
25+
uses: actions/setup-java@v3
26+
with:
27+
java-version: '11'
28+
distribution: 'temurin'
29+
cache: 'sbt'
30+
- name: Run tests
31+
run: sbt test
32+
# Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository
33+
- name: Upload dependency graph
34+
uses: scalacenter/sbt-dependency-submission@ab086b50c947c9774b70f39fc7f6e20ca2706c91

0 commit comments

Comments
 (0)