Skip to content

Commit

Permalink
add Scala-CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
memo33 authored Mar 29, 2024
1 parent 5446fad commit eaeab13
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Scala CI

on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
- name: Compile
run: sbt compile
- name: Run tests
run: sbt test
- name: Build executable jar
run: sbt assembly && ./sc4pac --version

0 comments on commit eaeab13

Please sign in to comment.