Skip to content

Commit f044afe

Browse files
committed
Update and standardize GitHub actions
1 parent a0884bc commit f044afe

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@ name: build-and-test
22

33
on:
44
push:
5+
pull_request:
56
workflow_dispatch:
67

7-
env:
8-
LIBERICA_URL: https://download.bell-sw.com/java/17.0.3+7/bellsoft-jdk17.0.3+7-linux-amd64-full.tar.gz
9-
108
jobs:
119
build-and-test:
1210
runs-on: ubuntu-latest
1311
steps:
14-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1513

16-
- uses: olafurpg/setup-scala@v10
14+
- uses: actions/setup-java@v4
1715
with:
18-
java-version: liberica@17=tgz+${{ env.LIBERICA_URL }}
16+
distribution: zulu
17+
java-version: 17
18+
java-package: jdk+fx
19+
cache: sbt
20+
21+
- uses: sbt/setup-sbt@v1
1922

2023
- run: sbt -v update compile
2124
- run: sbt -v test

0 commit comments

Comments
 (0)