-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 915 Bytes
/
scala.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
35
36
37
38
39
40
41
42
43
44
45
name: Scala
on:
push:
branches: [ "main" ]
paths:
- .github/workflows/scala.yml
- scala/**
pull_request:
branches: [ "main" ]
paths:
- .github/workflows/scala.yml
- scala/**
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: scala
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'sbt'
- name: Test
run: sbt test
# Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository
- name: Upload Dependency Graph
uses: scalacenter/sbt-dependency-submission@6807cf91e9dc7af7c314b988d56d928d5828605b
with:
working-directory: scala