From c0a383caebedfd7082034d90eab5a4ac0ce213ac Mon Sep 17 00:00:00 2001 From: eugene yokota Date: Fri, 8 Nov 2024 00:44:31 -0500 Subject: [PATCH] ci: Update GitHub Actions --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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