Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Nov 15, 2023
1 parent 32cdf61 commit ea92690
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,34 @@
name: Test
name: Continuous Integration

on: [push, pull_request]
on:
pull_request:
branches: ['**']
push:
branches: ['**']

jobs:
openjdk13:
openjdk21:
runs-on: ubuntu-latest
env:
JAVA_OPTS: "-Xmx6G -XX:+UseG1GC"
SBT_OPTS: "-Dsbt.ci=true"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 13
- run: sbt compile

- name: Checkout current branch
uses: actions/checkout@v3

- name: Setup JVM
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
cache: sbt

- name: Compile
run: sbt compile

- name: Test
run: sbt test

- name: Check Formatting
run: sbt scalafmtCheckAll

0 comments on commit ea92690

Please sign in to comment.