Merge pull request #66 from y-yu/update/sbt-sonatype-3.11.1 #135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build-test: | |
strategy: | |
matrix: | |
java-version: [ 11, 17 ] | |
java-distribution: [ 'temurin' ] | |
os: [ macos-latest, ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.java-distribution }} | |
java-version: ${{ matrix.java-version }} | |
cache: 'sbt' | |
- name: Setup coursier cache | |
uses: coursier/[email protected] | |
- name: Test | |
run: ./sbt featherweightGoCoreJVM/test | |
- name: Run `Main.main` | |
run: ./sbt featherweightGoJVM/run | |
- name: Check to compile JS code | |
run: ./sbt featherweightGoJS/fastOptJS | |