diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b34de8..d2c40cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,8 @@ -name: Scala CI +name: CI on: pull_request: - branches: - - master push: - branches: - - master jobs: build: @@ -15,12 +11,16 @@ jobs: matrix: java: [ '8', '11', '15' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} + distribution: "zulu" + cache: sbt + - name: Setup sbt + uses: sbt/setup-sbt@v1 - name: print Java version run: java -version - name: Run tests - run: sbt scripted + run: sbt -v scripted