diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 25db128..1d58ea2 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -21,15 +21,17 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' cache: 'sbt' + - run: curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup --yes --install-dir /usr/bin --apps sbt - name: Run tests run: sbt test # Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository - name: Upload dependency graph + if: ${{ github.token != null}} uses: scalacenter/sbt-dependency-submission@v2 with: configs-ignore: scala-tool scala-doc-tool