Skip to content

Commit

Permalink
Update scala.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
magnolia-k authored Dec 23, 2024
1 parent 733af7f commit 6946122
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
name: Scala CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [17, 21]
env:
JAVA_OPTS: -Xm2048M

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
distribution: "temurin"
java-version: ${{ matrix.java }}
- name: Setup SBT
uses: sbt/setup-sbt@v1
- name: Run tests
run: sbt scripted

0 comments on commit 6946122

Please sign in to comment.