Skip to content

Commit

Permalink
Merge pull request #2 from julianpeeters/ghactions
Browse files Browse the repository at this point in the history
Add github actions with sbt test
  • Loading branch information
julianpeeters committed Aug 7, 2023
2 parents e879cca + 4e31e82 commit 23973b6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Scala CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.3.0]
java: ['8', '11', '17']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3.0.2
- name: Set up Java
uses: actions/setup-java@v3.12.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Run tests
run: sbt ++${{ matrix.scala }} test

0 comments on commit 23973b6

Please sign in to comment.