Skip to content

Commit cf333b8

Browse files
committed
add test action
1 parent a21d19e commit cf333b8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
7+
permissions:
8+
id-token: write # This is required for requesting the JWT
9+
contents: write # This is required for actions/checkout
10+
11+
jobs:
12+
runTests:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
- uses: coursier/cache-action@v6
19+
- uses: VirtusLab/scala-cli-setup@main
20+
with:
21+
jvm: adoptium:1.21
22+
apps: scala
23+
power: true
24+
- name: Run tests
25+
run: scala test .
26+
27+

0 commit comments

Comments
 (0)