From b20a853d43183293f27226f0d87d55da194926da Mon Sep 17 00:00:00 2001 From: reibitto Date: Sun, 8 Oct 2023 13:32:10 +0900 Subject: [PATCH] Update scala.yml --- .github/workflows/scala.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 5bf442a..be3e9f2 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -7,20 +7,16 @@ on: branches: [ master ] jobs: - jvm: - strategy: - fail-fast: false - matrix: - scala: [2.12.16] - java: [adopt@1.11, adopt@1.8] + build: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v2 - - name: Set up environment - uses: olafurpg/setup-scala@v10 + - name: Set up JDK 11 + uses: actions/setup-java@v1 with: - java-version: ${{ matrix.java }} + java-version: 11 - name: Run tests - run: sbt ++${{ matrix.scala}} fmtCheck test + run: sbt -Dscalac.unused.enabled=true fmtCheck test